pub trait IntoU16where
Self: Sealed,{
// Required method
fn into_u16(self) -> u16;
}
Expand description
Trait for number types that can be converted into u16
, losslessly
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.