pub struct SizeU32(pub u32);Tuple Fields
0: u32Trait Implementations
sourceimpl PartialEq<SizeU32> for SizeU32
impl PartialEq<SizeU32> for SizeU32
sourceimpl<'de> RawDecode<'de> for SizeU32
impl<'de> RawDecode<'de> for SizeU32
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 SizeU32
impl RawEncode for SizeU32
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 SizeU32
impl RawFixedBytes for SizeU32
impl Eq for SizeU32
impl StructuralEq for SizeU32
impl StructuralPartialEq for SizeU32
Auto Trait Implementations
impl RefUnwindSafe for SizeU32
impl Send for SizeU32
impl Sync for SizeU32
impl Unpin for SizeU32
impl UnwindSafe for SizeU32
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