pub struct Varint { /* private fields */ }Expand description
Implementations§
Source§impl Varint
impl Varint
Sourcepub fn get_sint32(&self) -> i32
pub fn get_sint32(&self) -> i32
Returns the value of a sint32 field.
Sourcepub fn get_sint64(&self) -> i64
pub fn get_sint64(&self) -> i64
Returns the value of a sint64 field.
Sourcepub fn get_uint32(&self) -> u32
pub fn get_uint32(&self) -> u32
Returns the value of a uint32 field.
Sourcepub fn get_uint64(&self) -> u64
pub fn get_uint64(&self) -> u64
Returns the value of a uint64 field.
Trait Implementations§
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