Enum postcard::experimental::schema::Varint
source · pub enum Varint {
I16,
I32,
I64,
I128,
U16,
U32,
U64,
U128,
Usize,
Isize,
}
Expand description
A schema type representing a variably encoded integer
Variants§
I16
A variably encoded i16
I32
A variably encoded i32
I64
A variably encoded i64
I128
A variably encoded i128
U16
A variably encoded u16
U32
A variably encoded u32
U64
A variably encoded u64
U128
A variably encoded u128
Usize
A variably encoded usize
Isize
A variably encoded isize
Trait Implementations§
impl Eq for Varint
impl StructuralPartialEq for Varint
Auto Trait Implementations§
impl Freeze for Varint
impl RefUnwindSafe for Varint
impl Send for Varint
impl Sync for Varint
impl Unpin for Varint
impl UnwindSafe for Varint
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)