pub struct PrimitiveBlock {
pub stringtable: StringTable,
pub primitivegroup: Vec<PrimitiveGroup>,
pub granularity: i32,
pub lat_offset: i64,
pub lon_offset: i64,
pub date_granularity: i32,
}
Fields§
§stringtable: StringTable
§primitivegroup: Vec<PrimitiveGroup>
§granularity: i32
§lat_offset: i64
§lon_offset: i64
§date_granularity: i32
Implementations§
Trait Implementations§
Source§impl Clone for PrimitiveBlock
impl Clone for PrimitiveBlock
Source§fn clone(&self) -> PrimitiveBlock
fn clone(&self) -> PrimitiveBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PrimitiveBlock
impl Debug for PrimitiveBlock
Source§impl Default for PrimitiveBlock
impl Default for PrimitiveBlock
Source§fn default() -> PrimitiveBlock
fn default() -> PrimitiveBlock
Returns the “default value” for a type. Read more
Source§impl<'a> MessageRead<'a> for PrimitiveBlock
impl<'a> MessageRead<'a> for PrimitiveBlock
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for PrimitiveBlock
impl MessageWrite for PrimitiveBlock
Source§impl PartialEq for PrimitiveBlock
impl PartialEq for PrimitiveBlock
impl StructuralPartialEq for PrimitiveBlock
Auto Trait Implementations§
impl Freeze for PrimitiveBlock
impl RefUnwindSafe for PrimitiveBlock
impl Send for PrimitiveBlock
impl Sync for PrimitiveBlock
impl Unpin for PrimitiveBlock
impl UnwindSafe for PrimitiveBlock
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