Function cast::u8

source ·
pub fn u8<T>(x: T) -> <u8 as From<T>>::Output
where u8: From<T>,
Expand description

Checked cast function