pub struct AnimationGraph(/* private fields */);Implementations§
Source§impl AnimationGraph
impl AnimationGraph
pub fn new( bank: &AnimationBank, states: Vec<AnimationState>, transitions: Vec<AnimationTransition>, parameters: usize, ) -> Result<AnimationGraph, AnimationError>
pub fn states(&self) -> &[AnimationState]
pub fn transitions(&self) -> &[AnimationTransition]
pub fn parameter_count(&self) -> usize
Trait Implementations§
Source§impl Clone for AnimationGraph
impl Clone for AnimationGraph
Source§fn clone(&self) -> AnimationGraph
fn clone(&self) -> AnimationGraph
Returns a duplicate of the value. Read more
1.0.0 · 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 AnimationGraph
impl RefUnwindSafe for AnimationGraph
impl Send for AnimationGraph
impl Sync for AnimationGraph
impl Unpin for AnimationGraph
impl UnwindSafe for AnimationGraph
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