pub struct Varint64 {
pub value: u64,
pub consumed: usize,
pub overflow: bool,
}Expand description
A decoded 64-bit compressed integer.
Fields§
§value: u64The value, already zeroed when overflow is set.
consumed: usizeBytes consumed, including the over-long tail when overflow is set.
overflow: boolThe encoding ran past the byte cap; liblcf substitutes 0.
Trait Implementations§
impl Copy for Varint64
impl Eq for Varint64
impl StructuralPartialEq for Varint64
Auto Trait Implementations§
impl Freeze for Varint64
impl RefUnwindSafe for Varint64
impl Send for Varint64
impl Sync for Varint64
impl Unpin for Varint64
impl UnsafeUnpin for Varint64
impl UnwindSafe for Varint64
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