pub struct U16(pub u16);
Expand description
Wrapper around u16
to implement conversion traits on a foreign type.
Tuple Fields
0: u16
Trait Implementations
sourceimpl UnsafeFrom<U16> for u8
impl UnsafeFrom<U16> for u8
sourceunsafe fn unsafe_from(other: U16) -> Self
unsafe fn unsafe_from(other: U16) -> Self
Unsafely converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for U16
impl Send for U16
impl Sync for U16
impl Unpin for U16
impl UnwindSafe for U16
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