Struct rusty_spine::BoneHandle
source · [−]pub struct BoneHandle { /* private fields */ }
Expand description
Implementations
sourceimpl BoneHandle
impl BoneHandle
sourcepub fn get<'a>(
&self,
parent: &'a Skeleton
) -> Option<CTmpRef<'a, Skeleton, Bone>>
pub fn get<'a>(
&self,
parent: &'a Skeleton
) -> Option<CTmpRef<'a, Skeleton, Bone>>
Safely acquired the item, verifying its existence using its parent.
sourcepub fn get_mut<'a>(
&self,
parent: &'a mut Skeleton
) -> Option<CTmpMut<'a, Skeleton, Bone>>
pub fn get_mut<'a>(
&self,
parent: &'a mut Skeleton
) -> Option<CTmpMut<'a, Skeleton, Bone>>
Safely acquired the item, verifying its existence using its parent.
sourcepub unsafe fn get_unchecked<'a>(&self) -> Bone
pub unsafe fn get_unchecked<'a>(&self) -> Bone
Acquire the item without any checks. This is a direct pointer access which is fast but will segfault if the data has been disposed of already.
Trait Implementations
sourceimpl Clone for BoneHandle
impl Clone for BoneHandle
sourcefn clone(&self) -> BoneHandle
fn clone(&self) -> BoneHandle
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 moresourceimpl Debug for BoneHandle
impl Debug for BoneHandle
sourceimpl PartialEq<BoneHandle> for BoneHandle
impl PartialEq<BoneHandle> for BoneHandle
sourcefn eq(&self, other: &BoneHandle) -> bool
fn eq(&self, other: &BoneHandle) -> bool
impl Copy for BoneHandle
impl Eq for BoneHandle
impl StructuralEq for BoneHandle
impl StructuralPartialEq for BoneHandle
Auto Trait Implementations
impl RefUnwindSafe for BoneHandle
impl Send for BoneHandle
impl Sync for BoneHandle
impl Unpin for BoneHandle
impl UnwindSafe for BoneHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more