Enum data_stream::collections::Size
source · [−]pub enum Size {
Usize,
U8,
U16,
U32,
U64,
U128,
}Expand description
The encoding for sizes for collections.
Variants
Usize
Encodes sizes as usize.
U8
Encodes sizes as u8.
U16
Encodes sizes as u16.
U32
Encodes sizes as u32.
U64
Encodes sizes as u64.
U128
Encodes sizes as u128.
Auto Trait Implementations
impl RefUnwindSafe for Size
impl Send for Size
impl Sync for Size
impl Unpin for Size
impl UnwindSafe for Size
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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