pub struct U16Le(/* private fields */);Expand description
Implementations§
Trait Implementations§
Source§impl BytesCast for U16Le
impl BytesCast for U16Le
Source§fn from_bytes(bytes: &[u8]) -> Result<(&Self, &[u8]), FromBytesError>where
Self: Sized,
fn from_bytes(bytes: &[u8]) -> Result<(&Self, &[u8]), FromBytesError>where
Self: Sized,
Interpret the start of the given slice of bytes as reference to this
type. Read more
Source§fn slice_from_bytes(
bytes: &[u8],
slice_len: usize,
) -> Result<(&[Self], &[u8]), FromBytesError>where
Self: Sized,
fn slice_from_bytes(
bytes: &[u8],
slice_len: usize,
) -> Result<(&[Self], &[u8]), FromBytesError>where
Self: Sized,
Interpret the start of the given slice of bytes as slice of this type. Read more
impl Copy for U16Le
impl Eq for U16Le
impl StructuralPartialEq for U16Le
Auto Trait Implementations§
impl Freeze for U16Le
impl RefUnwindSafe for U16Le
impl Send for U16Le
impl Sync for U16Le
impl Unpin for U16Le
impl UnwindSafe for U16Le
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