pub struct ConstI8<const N: i8>;Trait Implementations§
Source§impl<const N: i8> Cuisiner for ConstI8<N>
impl<const N: i8> Cuisiner for ConstI8<N>
type Raw<B: ByteOrder> = i8
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.
impl<const N: i8> Eq for ConstI8<N>
impl<const N: i8> StructuralPartialEq for ConstI8<N>
Auto Trait Implementations§
impl<const N: i8> Freeze for ConstI8<N>
impl<const N: i8> RefUnwindSafe for ConstI8<N>
impl<const N: i8> Send for ConstI8<N>
impl<const N: i8> Sync for ConstI8<N>
impl<const N: i8> Unpin for ConstI8<N>
impl<const N: i8> UnwindSafe for ConstI8<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