pub struct Rig { /* private fields */ }Implementations§
Source§impl Rig
impl Rig
pub fn new(skeleton: Skeleton, clips: Vec<Clip>) -> Result<Self, AnimError>
pub fn skeleton(&self) -> &Skeleton
pub fn clips(&self) -> &[Clip]
pub fn clip(&self, name: &str) -> Option<usize>
pub fn with_events( self, clip: &str, events: Vec<ClipEvent>, ) -> Result<Self, AnimError>
Trait Implementations§
impl StructuralPartialEq for Rig
Auto Trait Implementations§
impl Freeze for Rig
impl RefUnwindSafe for Rig
impl Send for Rig
impl Sync for Rig
impl Unpin for Rig
impl UnsafeUnpin for Rig
impl UnwindSafe for Rig
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