#[non_exhaustive]pub struct WriteSummary {
pub nodes: usize,
pub animations: usize,
pub meshes: usize,
pub primitive_positions: usize,
pub materials: usize,
pub clips_without_writable_tracks: usize,
}Expand description
Counts of the scene data emitted by write().
The first five fields describe the generated glTF, which can differ from the
input Document when an animation clip has no writable channels, a
skinned mesh requires an additional holder node, or materials are omitted
because the document has no meshes. Self::clips_without_writable_tracks
is intentionally an input-to-output delta rather than an artifact count so
callers can explain omitted source clips.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.nodes: usizeNumber of nodes emitted in the glTF skeleton/scene graph.
animations: usizeNumber of animations emitted.
meshes: usizeNumber of meshes emitted.
primitive_positions: usizeNumber of primitive positions emitted.
materials: usizeNumber of materials emitted.
clips_without_writable_tracks: usizeNumber of input clips omitted because none of their tracks were writable.
Trait Implementations§
Source§impl Clone for WriteSummary
impl Clone for WriteSummary
Source§fn clone(&self) -> WriteSummary
fn clone(&self) -> WriteSummary
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 WriteSummary
Source§impl Debug for WriteSummary
impl Debug for WriteSummary
impl Eq for WriteSummary
Source§impl PartialEq for WriteSummary
impl PartialEq for WriteSummary
impl StructuralPartialEq for WriteSummary
Auto Trait Implementations§
impl Freeze for WriteSummary
impl RefUnwindSafe for WriteSummary
impl Send for WriteSummary
impl Sync for WriteSummary
impl Unpin for WriteSummary
impl UnsafeUnpin for WriteSummary
impl UnwindSafe for WriteSummary
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