pub struct IntEncodedWithFixedSize(pub u64);
Expand description
An integer that will always encode to 8 bytes.
Tuple Fields§
§0: u64
Implementations§
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 Freeze for IntEncodedWithFixedSize
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