pub struct U16Be(/* private fields */);Expand description
Implementations§
Trait Implementations§
Source§impl BytesCast for U16Be
impl BytesCast for U16Be
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 U16Be
impl Eq for U16Be
impl StructuralPartialEq for U16Be
Auto Trait Implementations§
impl Freeze for U16Be
impl RefUnwindSafe for U16Be
impl Send for U16Be
impl Sync for U16Be
impl Unpin for U16Be
impl UnwindSafe for U16Be
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