pub struct NonZeroU8(_);
Expand description
Wrapper around NonZeroU8
to implement conversion traits on a foreign
type.
Trait Implementations
sourceimpl UnsafeFrom<u8> for NonZeroU8
impl UnsafeFrom<u8> for NonZeroU8
sourceunsafe fn unsafe_from(other: u8) -> Self
unsafe fn unsafe_from(other: u8) -> Self
Unsafely converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for NonZeroU8
impl Send for NonZeroU8
impl Sync for NonZeroU8
impl Unpin for NonZeroU8
impl UnwindSafe for NonZeroU8
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more