pub struct DetachedSkeletonState {
pub slots: Vec<(usize, usize, BoneState, usize, usize)>,
/* private fields */
}Expand description
A state manager when you can’t use a lifetime reference to a Skeleton.
Instead you must pass in a reference to the skeleton when calling methods on here.
Care is needed to make sure it’s the correct Skeleton instance, otherwise there will be errors.
Fields§
§slots: Vec<(usize, usize, BoneState, usize, usize)>Implementations§
Trait Implementations§
Source§impl Clone for DetachedSkeletonState
impl Clone for DetachedSkeletonState
Source§fn clone(&self) -> DetachedSkeletonState
fn clone(&self) -> DetachedSkeletonState
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 moreSource§impl Debug for DetachedSkeletonState
impl Debug for DetachedSkeletonState
Source§impl Default for DetachedSkeletonState
impl Default for DetachedSkeletonState
Source§fn default() -> DetachedSkeletonState
fn default() -> DetachedSkeletonState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DetachedSkeletonState
impl RefUnwindSafe for DetachedSkeletonState
impl Send for DetachedSkeletonState
impl Sync for DetachedSkeletonState
impl Unpin for DetachedSkeletonState
impl UnwindSafe for DetachedSkeletonState
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