DVUI

cellOptionsOverride

Return a new CellStyle with overridden CellOptions

Parameters

#
self:*const CellStyle
*const CellStyle
cell_opts:CellOptions
CellOptions

Source

Implementation

#
pub fn cellOptionsOverride(self: *const CellStyle, cell_opts: CellOptions) CellStyle {
    return .{
        .cell_opts = self.cell_opts.override(cell_opts),
        .opts = self.opts,
    };
}