#[repr(transparent)]pub struct u12r(pub u16);Expand description
u12r integer type.
Tuple Fields§
§0: u16Trait Implementations§
Source§impl<const N: usize> IntoArray<u12r, N> for [u16; N]
impl<const N: usize> IntoArray<u12r, N> for [u16; N]
Source§fn into_array(&self) -> &[u12r; N]
fn into_array(&self) -> &[u12r; N]
Convert the array
Source§fn into_mut_array(&mut self) -> &mut [u12r; N]
fn into_mut_array(&mut self) -> &mut [u12r; N]
Convert the mut array
Source§impl IntoSlice<u12r> for [u16]
impl IntoSlice<u12r> for [u16]
Source§fn into_slice(&self) -> &[u12r]
fn into_slice(&self) -> &[u12r]
Convert the slice
Source§fn into_mut_slice(&mut self) -> &mut [u12r]
fn into_mut_slice(&mut self) -> &mut [u12r]
Convert the mut slice
impl Copy for u12r
Auto Trait Implementations§
impl Freeze for u12r
impl RefUnwindSafe for u12r
impl Send for u12r
impl Sync for u12r
impl Unpin for u12r
impl UnwindSafe for u12r
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToMutAligned for Twhere
T: ?Sized,
impl<T> ToMutAligned for Twhere
T: ?Sized,
Source§fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
Create a type-checked aligned value from a value that is aligned.