pub struct ConstU16<const N: u16>;Trait Implementations§
Source§impl<const N: u16> Cuisiner for ConstU16<N>
impl<const N: u16> Cuisiner for ConstU16<N>
type Raw<B: ByteOrder> = U16<B>
Source§fn try_from_raw<B: ByteOrder>(raw: Self::Raw<B>) -> Result<Self, CuisinerError>
fn try_from_raw<B: ByteOrder>(raw: Self::Raw<B>) -> Result<Self, CuisinerError>
Attempt to convert this value from a raw value.
Source§fn try_to_raw<B: ByteOrder>(self) -> Result<Self::Raw<B>, CuisinerError>
fn try_to_raw<B: ByteOrder>(self) -> Result<Self::Raw<B>, CuisinerError>
Attempt to convert this value into the raw value.
Source§fn from_bytes<B: ByteOrder>(bytes: &[u8]) -> Result<Self, CuisinerError>
fn from_bytes<B: ByteOrder>(bytes: &[u8]) -> Result<Self, CuisinerError>
Read the provided bytes and attempt to parse out the type.
Auto Trait Implementations§
impl<const N: u16> Freeze for ConstU16<N>
impl<const N: u16> RefUnwindSafe for ConstU16<N>
impl<const N: u16> Send for ConstU16<N>
impl<const N: u16> Sync for ConstU16<N>
impl<const N: u16> Unpin for ConstU16<N>
impl<const N: u16> UnwindSafe for ConstU16<N>
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