pub struct GltfAddressabilityInventoryV2 { /* private fields */ }Expand description
Rich engine-neutral inventory adapter that reuses the immutable V1 animation inventory beside the raw scene/node/skin sidecar.
Implementations§
Source§impl GltfAddressabilityInventoryV2
impl GltfAddressabilityInventoryV2
Sourcepub fn new(
raw: RawGltfAddressabilityInventoryV1,
animations: GltfAnimationAddressabilityInventoryV1,
) -> Result<Self, GltfAddressabilityV2Error>
pub fn new( raw: RawGltfAddressabilityInventoryV1, animations: GltfAnimationAddressabilityInventoryV1, ) -> Result<Self, GltfAddressabilityV2Error>
Bind the two immutable same-load inventories.
Sourcepub fn contract_id(&self) -> &str
pub fn contract_id(&self) -> &str
Immutable rich inventory schema identity.
Sourcepub const fn raw(&self) -> &RawGltfAddressabilityInventoryV1
pub const fn raw(&self) -> &RawGltfAddressabilityInventoryV1
Raw scene/node/skin/path sidecar.
Sourcepub const fn animations(&self) -> &GltfAnimationAddressabilityInventoryV1
pub const fn animations(&self) -> &GltfAnimationAddressabilityInventoryV1
Unchanged V1 animation inventory.
Trait Implementations§
Source§impl Clone for GltfAddressabilityInventoryV2
impl Clone for GltfAddressabilityInventoryV2
Source§fn clone(&self) -> GltfAddressabilityInventoryV2
fn clone(&self) -> GltfAddressabilityInventoryV2
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 GltfAddressabilityInventoryV2
impl<'de> Deserialize<'de> for GltfAddressabilityInventoryV2
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 GltfAddressabilityInventoryV2
impl StructuralPartialEq for GltfAddressabilityInventoryV2
Auto Trait Implementations§
impl Freeze for GltfAddressabilityInventoryV2
impl RefUnwindSafe for GltfAddressabilityInventoryV2
impl Send for GltfAddressabilityInventoryV2
impl Sync for GltfAddressabilityInventoryV2
impl Unpin for GltfAddressabilityInventoryV2
impl UnsafeUnpin for GltfAddressabilityInventoryV2
impl UnwindSafe for GltfAddressabilityInventoryV2
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