Struct skeletal_animation::controller::AnimationStateDef
source · [−]pub struct AnimationStateDef {
pub name: String,
pub blend_tree: BlendTreeNodeDef,
pub transitions: Vec<AnimationTransition>,
}
Expand description
Definition struct for an AnimationState, which can be deserialized from JSON and converted to an AnimationState instance at runtime
Fields
name: String
The identifying name for the state
blend_tree: BlendTreeNodeDef
The blend tree definition for this state
transitions: Vec<AnimationTransition>
The transitions to other states that can occur from this state
Trait Implementations
sourceimpl Clone for AnimationStateDef
impl Clone for AnimationStateDef
sourcefn clone(&self) -> AnimationStateDef
fn clone(&self) -> AnimationStateDef
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AnimationStateDef
impl Debug for AnimationStateDef
sourceimpl Decodable for AnimationStateDef
impl Decodable for AnimationStateDef
Auto Trait Implementations
impl RefUnwindSafe for AnimationStateDef
impl Send for AnimationStateDef
impl Sync for AnimationStateDef
impl Unpin for AnimationStateDef
impl UnwindSafe for AnimationStateDef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more