pub struct RuntimeModelDescriptorV1 {
pub descriptor_version: u32,
pub bones: Vec<RuntimeBoneDescriptorV1>,
pub ik_solvers: Vec<RuntimeIkSolverDescriptorV1>,
pub append_transforms: Vec<RuntimeAppendTransformDescriptorV1>,
pub morphs: RuntimeMorphDescriptorV1,
}Expand description
A host-independent snapshot of all runtime model data needed by v1.
Fields§
§descriptor_version: u32Must be RUNTIME_MODEL_DESCRIPTOR_VERSION_V1.
bones: Vec<RuntimeBoneDescriptorV1>§ik_solvers: Vec<RuntimeIkSolverDescriptorV1>§append_transforms: Vec<RuntimeAppendTransformDescriptorV1>§morphs: RuntimeMorphDescriptorV1Implementations§
Source§impl RuntimeModelDescriptorV1
impl RuntimeModelDescriptorV1
pub fn new(bones: Vec<RuntimeBoneDescriptorV1>) -> Self
Trait Implementations§
Source§impl Clone for RuntimeModelDescriptorV1
impl Clone for RuntimeModelDescriptorV1
Source§fn clone(&self) -> RuntimeModelDescriptorV1
fn clone(&self) -> RuntimeModelDescriptorV1
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 Debug for RuntimeModelDescriptorV1
impl Debug for RuntimeModelDescriptorV1
Source§impl Default for RuntimeModelDescriptorV1
impl Default for RuntimeModelDescriptorV1
Source§impl Display for RuntimeModelDescriptorV1
impl Display for RuntimeModelDescriptorV1
Source§impl PartialEq for RuntimeModelDescriptorV1
impl PartialEq for RuntimeModelDescriptorV1
impl StructuralPartialEq for RuntimeModelDescriptorV1
Auto Trait Implementations§
impl Freeze for RuntimeModelDescriptorV1
impl RefUnwindSafe for RuntimeModelDescriptorV1
impl Send for RuntimeModelDescriptorV1
impl Sync for RuntimeModelDescriptorV1
impl Unpin for RuntimeModelDescriptorV1
impl UnsafeUnpin for RuntimeModelDescriptorV1
impl UnwindSafe for RuntimeModelDescriptorV1
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more