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