Skip to main content

transform_global_color

Function transform_global_color 

Source
pub fn transform_global_color(
    dbc: &DbcData,
    color_id: i32,
) -> Result<GlobalColorFlat, TransformError>
Expand description

Transform a single GlobalColor row into a flat record.

ยงErrors

Returns TransformError when color_id is absent from the DBC data.