cssparser
0.34.0
In cssparser::
color
Function
cssparser
::
color
::
clamp_floor_256_f32
Copy item path
source
ยท
[
−
]
pub fn clamp_floor_256_f32(val:
f32
) ->
u8
Expand description
Round and clamp a single number to a u8.