pub struct Varlong(pub i64);Expand description
Represents an integer between -2^63 and 2^63-1 inclusive.
Encoding follows the variable-length zig-zag encoding from Google Protocol Buffers.
Tuple Fields§
§0: i64Trait Implementations§
Source§impl Ord for Varlong
impl Ord for Varlong
Source§impl PartialOrd for Varlong
impl PartialOrd for Varlong
impl Copy for Varlong
impl Eq for Varlong
impl StructuralPartialEq for Varlong
Auto Trait Implementations§
impl Freeze for Varlong
impl RefUnwindSafe for Varlong
impl Send for Varlong
impl Sync for Varlong
impl Unpin for Varlong
impl UnwindSafe for Varlong
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