pub struct GltfAnimationAddressabilityInventoryV1 { /* private fields */ }Expand description
Engine-neutral glTF animation inventory projected from one immutable load.
Implementations§
Source§impl GltfAnimationAddressabilityInventoryV1
impl GltfAnimationAddressabilityInventoryV1
Sourcepub fn from_source(
source: &LoadedSource,
) -> Result<Self, GltfAnimationAddressabilityError>
pub fn from_source( source: &LoadedSource, ) -> Result<Self, GltfAnimationAddressabilityError>
Project one bounded engine-neutral animation inventory from a same-load source.
§Errors
Returns GltfAnimationAddressabilityError::UnsupportedSourceFormat for
a non-glTF source and GltfAnimationAddressabilityError::TooManyAnimations
when the normalized document exceeds the V1 limit of 4,096 clips.
Other loader-valid glTF/GLB sidecars already satisfy the retained
collection, text, ordering, and closure invariants.
Sourcepub const fn contract_id(&self) -> &'static str
pub const fn contract_id(&self) -> &'static str
Immutable inventory contract identity.
Sourcepub const fn identity(&self) -> &GltfAnimationAddressabilityIdentityV1
pub const fn identity(&self) -> &GltfAnimationAddressabilityIdentityV1
Canonical identity over engine-neutral fields only.
Sourcepub const fn source_format(&self) -> SourceFormatV1
pub const fn source_format(&self) -> SourceFormatV1
Exact glTF or GLB source format.
Sourcepub const fn primary_input(&self) -> &InputIdentity
pub const fn primary_input(&self) -> &InputIdentity
Exact primary input parsed by the loader.
Sourcepub const fn dependency_closure(&self) -> &DependencyClosureV1
pub const fn dependency_closure(&self) -> &DependencyClosureV1
Full same-load dependency-closure evidence.
Sourcepub const fn animations(&self) -> &GltfAnimationAddressabilityAnimationSetV1
pub const fn animations(&self) -> &GltfAnimationAddressabilityAnimationSetV1
Coverage-qualified raw animation inventory.
Trait Implementations§
Source§impl Clone for GltfAnimationAddressabilityInventoryV1
impl Clone for GltfAnimationAddressabilityInventoryV1
Source§fn clone(&self) -> GltfAnimationAddressabilityInventoryV1
fn clone(&self) -> GltfAnimationAddressabilityInventoryV1
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 moreSource§impl<'de> Deserialize<'de> for GltfAnimationAddressabilityInventoryV1
impl<'de> Deserialize<'de> for GltfAnimationAddressabilityInventoryV1
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GltfAnimationAddressabilityInventoryV1
impl StructuralPartialEq for GltfAnimationAddressabilityInventoryV1
Auto Trait Implementations§
impl Freeze for GltfAnimationAddressabilityInventoryV1
impl RefUnwindSafe for GltfAnimationAddressabilityInventoryV1
impl Send for GltfAnimationAddressabilityInventoryV1
impl Sync for GltfAnimationAddressabilityInventoryV1
impl Unpin for GltfAnimationAddressabilityInventoryV1
impl UnsafeUnpin for GltfAnimationAddressabilityInventoryV1
impl UnwindSafe for GltfAnimationAddressabilityInventoryV1
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