pub struct U32WriteId(/* private fields */);
Expand description
Portable u32 (sized) write id convenience type for use with streaming writes.
Often an integer value is sufficient for a streaming write tag. This convenience type enables storing such a value and functions for consistent conversion between byte sequence data types.
Implementations§
Trait Implementations§
Source§impl Clone for U32WriteId
impl Clone for U32WriteId
Source§fn clone(&self) -> U32WriteId
fn clone(&self) -> U32WriteId
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for U32WriteId
impl Debug for U32WriteId
Source§impl From<U32WriteId> for u32
impl From<U32WriteId> for u32
Source§fn from(value: U32WriteId) -> u32
fn from(value: U32WriteId) -> u32
Converts to this type from the input type.
Source§impl From<u32> for U32WriteId
impl From<u32> for U32WriteId
Source§fn from(value: u32) -> U32WriteId
fn from(value: u32) -> U32WriteId
Converts to this type from the input type.
Source§impl TryFrom<&[u8]> for U32WriteId
impl TryFrom<&[u8]> for U32WriteId
impl Copy for U32WriteId
Auto Trait Implementations§
impl Freeze for U32WriteId
impl RefUnwindSafe for U32WriteId
impl Send for U32WriteId
impl Sync for U32WriteId
impl Unpin for U32WriteId
impl UnwindSafe for U32WriteId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)