DVUI

toOptions

Parameters

#
self:*const CellOptions
*const CellOptions

Source

Implementation

#
pub fn toOptions(self: *const CellOptions) Options {
        return .{
            // does not convert size
            .margin = self.margin,
            .border = self.border,
            .padding = self.padding,
            .background = self.background,
            .color_fill = self.color_fill,
            .color_border = self.color_border,
            .role = .grid_cell,
        };
    }