pub struct SizeU16(pub u16);Tuple Fields
0: u16Trait Implementations
sourceimpl PartialEq<SizeU16> for SizeU16
impl PartialEq<SizeU16> for SizeU16
sourceimpl<'de> RawDecode<'de> for SizeU16
impl<'de> RawDecode<'de> for SizeU16
fn raw_decode(buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>
fn raw_decode_with_option(
buf: &'de [u8],
_opt: &RawDecodeOption
) -> BuckyResult<(Self, &'de [u8])>
sourceimpl RawEncode for SizeU16
impl RawEncode for SizeU16
fn raw_measure(&self, purpose: &Option<RawEncodePurpose>) -> BuckyResult<usize>
fn raw_encode<'a>(
&self,
buf: &'a mut [u8],
purpose: &Option<RawEncodePurpose>
) -> BuckyResult<&'a mut [u8]>
fn raw_tail_encode<'a>(
&self,
buf: &'a mut [u8],
purpose: &Option<RawEncodePurpose>
) -> BuckyResult<&'a [u8]>
fn raw_encode_to_buffer(&self) -> BuckyResult<Vec<u8>>
fn raw_hash_value(&self) -> BuckyResult<HashValue>
fn hash_buf(&self, encoded_buf: &[u8]) -> HashValue
fn raw_hash_encode(&self) -> BuckyResult<Vec<u8>>
sourceimpl RawFixedBytes for SizeU16
impl RawFixedBytes for SizeU16
impl Eq for SizeU16
impl StructuralEq for SizeU16
impl StructuralPartialEq for SizeU16
Auto Trait Implementations
impl RefUnwindSafe for SizeU16
impl Send for SizeU16
impl Sync for SizeU16
impl Unpin for SizeU16
impl UnwindSafe for SizeU16
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more