Skip to main content

to_channel

Function to_channel 

Source
pub fn to_channel(v: f32) -> u8
Expand description

Rounds and saturates a channel value to 0..=255.