to_color_mode

Function to_color_mode 

Source
pub fn to_color_mode(color: Option<&ColorsArg>) -> ColorMode