pub struct IntEncodedWithFixedSize(pub u64);Expand description
An integer that will always encode to 8 bytes.
Tuple Fields§
§0: u64Implementations§
source§impl IntEncodedWithFixedSize
 
impl IntEncodedWithFixedSize
pub const ENCODED_SIZE: usize = 8usize
Trait Implementations§
source§impl<'a> Decodable<MemDecoder<'a>> for IntEncodedWithFixedSize
 
impl<'a> Decodable<MemDecoder<'a>> for IntEncodedWithFixedSize
fn decode(decoder: &mut MemDecoder<'a>) -> IntEncodedWithFixedSize
source§impl Encodable<FileEncoder> for IntEncodedWithFixedSize
 
impl Encodable<FileEncoder> for IntEncodedWithFixedSize
fn encode(&self, e: &mut FileEncoder)
Auto Trait Implementations§
impl RefUnwindSafe for IntEncodedWithFixedSize
impl Send for IntEncodedWithFixedSize
impl Sync for IntEncodedWithFixedSize
impl Unpin for IntEncodedWithFixedSize
impl UnwindSafe for IntEncodedWithFixedSize
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