pub struct GltfAnimationAddressabilityV1 { /* private fields */ }Expand description
Standalone producer envelope for generate addressability.
Implementations§
Source§impl GltfAnimationAddressabilityV1
impl GltfAnimationAddressabilityV1
Sourcepub fn new(
tool: ToolInfo,
inventory: GltfAnimationAddressabilityInventoryV1,
bevy: Option<GltfAnimationAddressabilityBevyAdapterV1>,
) -> Result<Self, GltfAnimationAddressabilityError>
pub fn new( tool: ToolInfo, inventory: GltfAnimationAddressabilityInventoryV1, bevy: Option<GltfAnimationAddressabilityBevyAdapterV1>, ) -> Result<Self, GltfAnimationAddressabilityError>
Construct one validated standalone result document.
§Errors
Returns a typed contract error when an optional adapter is not bound to this exact inventory.
Sourcepub const fn input(&self) -> &InputIdentity
pub const fn input(&self) -> &InputIdentity
Exact primary input identity.
Sourcepub const fn inventory(&self) -> &GltfAnimationAddressabilityInventoryV1
pub const fn inventory(&self) -> &GltfAnimationAddressabilityInventoryV1
Engine-neutral animation inventory.
Sourcepub const fn bevy(&self) -> Option<&GltfAnimationAddressabilityBevyAdapterV1>
pub const fn bevy(&self) -> Option<&GltfAnimationAddressabilityBevyAdapterV1>
Exact Bevy adapter, absent without the selected compatible profile.
Trait Implementations§
Source§impl Clone for GltfAnimationAddressabilityV1
impl Clone for GltfAnimationAddressabilityV1
Source§fn clone(&self) -> GltfAnimationAddressabilityV1
fn clone(&self) -> GltfAnimationAddressabilityV1
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 moreAuto Trait Implementations§
impl Freeze for GltfAnimationAddressabilityV1
impl RefUnwindSafe for GltfAnimationAddressabilityV1
impl Send for GltfAnimationAddressabilityV1
impl Sync for GltfAnimationAddressabilityV1
impl Unpin for GltfAnimationAddressabilityV1
impl UnsafeUnpin for GltfAnimationAddressabilityV1
impl UnwindSafe for GltfAnimationAddressabilityV1
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