#[repr(transparent)]pub struct u12l(pub u16);Expand description
u12l integer type.
Tuple Fields§
§0: u16Trait Implementations§
Source§impl<const N: usize> IntoArray<u12l, N> for [u16; N]
impl<const N: usize> IntoArray<u12l, N> for [u16; N]
Source§fn into_array(&self) -> &[u12l; N]
fn into_array(&self) -> &[u12l; N]
Convert the array
Source§fn into_mut_array(&mut self) -> &mut [u12l; N]
fn into_mut_array(&mut self) -> &mut [u12l; N]
Convert the mut array
Source§impl IntoSlice<u12l> for [u16]
impl IntoSlice<u12l> for [u16]
Source§fn into_slice(&self) -> &[u12l]
fn into_slice(&self) -> &[u12l]
Convert the slice
Source§fn into_mut_slice(&mut self) -> &mut [u12l]
fn into_mut_slice(&mut self) -> &mut [u12l]
Convert the mut slice
impl Copy for u12l
Auto Trait Implementations§
impl Freeze for u12l
impl RefUnwindSafe for u12l
impl Send for u12l
impl Sync for u12l
impl Unpin for u12l
impl UnwindSafe for u12l
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.