pub struct PayloadStats {
pub header: u32,
pub zones: u32,
pub arcs: u32,
pub rings: u32,
pub grid: u32,
pub n_arcs: u32,
pub n_verts: u32,
pub clean: CleanStats,
}Expand description
The byte size of each payload section plus post-simplification geometry counts: these are the viewer’s “delta+varint” stage stats.
Fields§
§header: u32§zones: u32§arcs: u32§rings: u32§grid: u32§n_arcs: u32§n_verts: u32The number of vertices actually stored (post-simplify, post-quantize-clean).
clean: CleanStatsThe tallies of what the post-quantization cleanup removed (see clean.rs).
Trait Implementations§
Source§impl Clone for PayloadStats
impl Clone for PayloadStats
Source§fn clone(&self) -> PayloadStats
fn clone(&self) -> PayloadStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PayloadStats
Source§impl Debug for PayloadStats
impl Debug for PayloadStats
Source§impl Default for PayloadStats
impl Default for PayloadStats
Source§fn default() -> PayloadStats
fn default() -> PayloadStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PayloadStats
impl RefUnwindSafe for PayloadStats
impl Send for PayloadStats
impl Sync for PayloadStats
impl Unpin for PayloadStats
impl UnsafeUnpin for PayloadStats
impl UnwindSafe for PayloadStats
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