DVUI

optionsOverride

Return a new CellStyle with overridden Options

Parameters

#
self:*const CellStyle
*const CellStyle
opts:Options
Options

Source

Implementation

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