Skip to main content
to_channel
shuyi_
ui
0.1.0
In shuyi_
ui::
frame::
color
shuyi_ui
::
frame
::
color
Function
to_
channel
Copy item path
Source
pub fn to_channel(v:
f32
) ->
u8
Expand description
Rounds and saturates a channel value to
0..=255
.