#[non_exhaustive]pub struct ScaleCapabilityFacts {Show 15 fields
pub coverage: ScaleCapabilityCoverage,
pub morphs_present: bool,
pub morph_weights_present: bool,
pub cameras_present: bool,
pub lights_present: bool,
pub instancing_present: bool,
pub unregistered_extensions_present: bool,
pub extras_present: bool,
pub unknown_source_members_present: bool,
pub non_triangle_primitives_present: bool,
pub unsupported_vertex_attributes_present: bool,
pub secondary_skin_influences_present: bool,
pub inverse_bind_issues_present: bool,
pub unsafe_accessor_layout_present: bool,
pub external_resources_present: bool,
}Expand description
Format-neutral capability facts a frontend projects from its raw source inventory before any scale plan or candidate exists.
This is deliberately coarser than a format’s own raw capability
manifest (for example animsmith_gltf::GltfCapabilityManifest): it only
carries the flags this module’s planning needs to fail closed on an
unsupported domain, per DESIGN.md Appendix D §D.4. A frontend projects
its richer, format-specific manifest down to these flags.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.coverage: ScaleCapabilityCoverageWhether the projection covers the complete source domain.
morphs_present: boolA morph target is present.
morph_weights_present: boolStatic or animated morph weights are present.
cameras_present: boolA camera is present.
lights_present: boolA punctual light is present.
instancing_present: boolGPU-instancing data is present.
unregistered_extensions_present: boolAn extension is not covered by a registered length-field handler.
extras_present: boolNon-null application-specific extras are present.
unknown_source_members_present: boolA JSON/source member outside the modeled schema was ignored.
non_triangle_primitives_present: boolA non-triangle-list primitive is present.
unsupported_vertex_attributes_present: boolA vertex attribute outside the normalized writer subset is present.
secondary_skin_influences_present: boolA secondary skin-influence set is present.
inverse_bind_issues_present: boolAn inverse-bind accessor is missing, empty, mismatched, or unreadable.
unsafe_accessor_layout_present: boolA scale-bearing source layout cannot be safely bounded or rewritten.
external_resources_present: boolAn external (non-embedded) resource is referenced.
Implementations§
Source§impl ScaleCapabilityFacts
impl ScaleCapabilityFacts
Sourcepub fn is_supported(&self) -> bool
pub fn is_supported(&self) -> bool
A capability projection declaring complete coverage and no unsupported domain — the only facts planning accepts.
Trait Implementations§
Source§impl Clone for ScaleCapabilityFacts
impl Clone for ScaleCapabilityFacts
Source§fn clone(&self) -> ScaleCapabilityFacts
fn clone(&self) -> ScaleCapabilityFacts
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more