Struct proc_bitfield::example::support::NonZeroU8
source · pub struct NonZeroU8(_);Expand description
Wrapper around NonZeroU8 to implement conversion traits on a foreign
type.
Trait Implementations§
source§impl UnsafeFrom<u8> for NonZeroU8
impl UnsafeFrom<u8> for NonZeroU8
source§unsafe fn unsafe_from(other: u8) -> Self
unsafe fn unsafe_from(other: u8) -> Self
Unsafely converts to this type from the input type.