Struct heed_types::U16
source · pub struct U16<O>(/* private fields */);
Expand description
Encodable version of u16
.
Trait Implementations§
source§impl<O: ByteOrder> BytesDecode<'_> for U16<O>
impl<O: ByteOrder> BytesDecode<'_> for U16<O>
source§fn bytes_decode(bytes: &[u8]) -> Result<Self::DItem, BoxedError>
fn bytes_decode(bytes: &[u8]) -> Result<Self::DItem, BoxedError>
Decode the given bytes as
DItem
.Auto Trait Implementations§
impl<O> Freeze for U16<O>
impl<O> RefUnwindSafe for U16<O>where
O: RefUnwindSafe,
impl<O> Send for U16<O>where
O: Send,
impl<O> Sync for U16<O>where
O: Sync,
impl<O> Unpin for U16<O>where
O: Unpin,
impl<O> UnwindSafe for U16<O>where
O: UnwindSafe,
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