pub struct GlbReport {
pub meshes: usize,
pub primitives: usize,
pub materials: usize,
pub triangles: usize,
pub bytes: usize,
}Expand description
What one written file contains — the counts a caller reports or asserts on.
Fields§
§meshes: usizeMeshes written (solids that carried at least one triangle).
primitives: usizePrimitives across every mesh — one per distinct colour within a solid.
materials: usizeDistinct materials, deduplicated across the whole file.
triangles: usizeTriangles written.
bytes: usizeTotal file length in bytes.
Trait Implementations§
impl Copy for GlbReport
impl Eq for GlbReport
impl StructuralPartialEq for GlbReport
Auto Trait Implementations§
impl Freeze for GlbReport
impl RefUnwindSafe for GlbReport
impl Send for GlbReport
impl Sync for GlbReport
impl Unpin for GlbReport
impl UnsafeUnpin for GlbReport
impl UnwindSafe for GlbReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.