Skip to main content

column_or_default

Function column_or_default 

Source
fn column_or_default<T>(
    column: Option<&ColumnProperties>,
    default: &ColumnProperties,
    get: impl Fn(&ColumnProperties) -> Option<T>,
) -> Option<T>
Expand description

Returns the setting read by get for column if it sets one, otherwise the setting on default.

column is the per-column override entry, if the column has one.