Skip to main content

ScalePayloadShapeRow

Enum ScalePayloadShapeRow 

Source
#[non_exhaustive]
pub enum ScalePayloadShapeRow { Document { bone_count: usize, source_node_count: usize, source_coverage: SourceSkeletonCoverage, clip_count: usize, instance_count: usize, mesh_count: usize, }, Bone { bone: BoneId, parent: Option<BoneId>, }, SourceSkin { source_skin_index: usize, skeleton_root_source_node_index: Option<usize>, joint_count: usize, attachment_count: usize, inverse_bind_status: SourceInverseBindAccessorStatus, inverse_bind_declared_count: Option<usize>, inverse_bind_matrix_count: usize, }, SourceSkinJoint { source_skin_index: usize, slot: usize, source_node_index: usize, }, SourceSkinAttachment { source_skin_index: usize, attachment_index: usize, source_node_index: usize, source_mesh_index: Option<usize>, }, Clip { clip_index: usize, track_count: usize, }, Track { clip_index: usize, track_index: usize, bone: BoneId, property: Property, interpolation: Interpolation, key_count: usize, value_count: usize, }, Instance { instance_index: usize, node: BoneId, source_node_index: usize, mesh: usize, joint_count: usize, inverse_bind_count: usize, }, InstanceJoint { instance_index: usize, slot: usize, joint: BoneId, }, Mesh { mesh_index: usize, source_mesh_index: usize, primitive_count: usize, }, Primitive { mesh_index: usize, primitive_index: usize, position_count: usize, normal_count: usize, joint_count: usize, weight_count: usize, }, }
Expand description

One numeric-value-free payload-shape row used by stale-plan replay.

Rows include empty containers and structural identities/counts, but never key times or stored floating-point values, so intentional numeric replay against an identically shaped document remains supported.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Document

Top-level normalized collection counts.

Fields

§bone_count: usize

Skeleton bone count.

§source_node_count: usize

Authoritative source-skeleton node count; zero under unavailable coverage.

§source_coverage: SourceSkeletonCoverage

Whether the source projection claims complete coverage.

§clip_count: usize

Clip count.

§instance_count: usize

Mesh-instance count.

§mesh_count: usize

Mesh count.

§

Bone

One normalized topology row.

Fields

§bone: BoneId

Normalized bone identity.

§parent: Option<BoneId>

Normalized parent identity.

§

SourceSkin

One source skin’s complete structural inventory.

Fields

§source_skin_index: usize

Raw source-skin identity.

§skeleton_root_source_node_index: Option<usize>

Explicit source skeleton root.

§joint_count: usize

Declared joint count.

§attachment_count: usize

Attachment count.

§inverse_bind_status: SourceInverseBindAccessorStatus

Inverse-bind accessor status.

§inverse_bind_declared_count: Option<usize>

Declared inverse-bind accessor count.

§inverse_bind_matrix_count: usize

Number of readable matrices retained.

§

SourceSkinJoint

One ordered source-skin joint identity.

Fields

§source_skin_index: usize

Raw source-skin identity.

§slot: usize

Joint slot.

§source_node_index: usize

Raw source-node identity.

§

SourceSkinAttachment

One ordered source-skin attachment identity.

Fields

§source_skin_index: usize

Raw source-skin identity.

§attachment_index: usize

Attachment position.

§source_node_index: usize

Raw attachment node identity.

§source_mesh_index: Option<usize>

Raw mesh identity, when declared.

§

Clip

One clip, including an empty clip.

Fields

§clip_index: usize

Clip position.

§track_count: usize

Track count.

§

Track

One track’s structural identity and arities.

Fields

§clip_index: usize

Clip position.

§track_index: usize

Track position.

§bone: BoneId

Target bone.

§property: Property

Animated property.

§interpolation: Interpolation

Interpolation mode.

§key_count: usize

Number of key times, without storing their numeric values.

§value_count: usize

Number of stored value elements.

§

Instance

One mesh instance, including an unskinned instance.

Fields

§instance_index: usize

Instance position.

§node: BoneId

Normalized attachment node.

§source_node_index: usize

Raw source-node attachment identity.

§mesh: usize

Mesh identity.

§joint_count: usize

Logical joint-slot count.

§inverse_bind_count: usize

Stored instance inverse-bind count.

§

InstanceJoint

One logical joint slot, preserving slot order and identity.

Fields

§instance_index: usize

Instance position.

§slot: usize

Slot position.

§joint: BoneId

Joint identity.

§

Mesh

One mesh, including an empty mesh.

Fields

§mesh_index: usize

Mesh position.

§source_mesh_index: usize

Stable source mesh identity.

§primitive_count: usize

Primitive count.

§

Primitive

One primitive’s modeled shape.

Fields

§mesh_index: usize

Mesh position.

§primitive_index: usize

Primitive position.

§position_count: usize

Base-position count.

§normal_count: usize

Preserved normal count.

§joint_count: usize

Primary joint-tuple count read by skin/bounds proof.

§weight_count: usize

Primary weight-tuple count read by skin/bounds proof.

Trait Implementations§

Source§

impl Clone for ScalePayloadShapeRow

Source§

fn clone(&self) -> ScalePayloadShapeRow

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ScalePayloadShapeRow

Source§

impl Debug for ScalePayloadShapeRow

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for ScalePayloadShapeRow

Source§

impl PartialEq for ScalePayloadShapeRow

Source§

fn eq(&self, other: &ScalePayloadShapeRow) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ScalePayloadShapeRow

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.