Struct rusty_spine::BoneHandle
source · pub struct BoneHandle { /* private fields */ }
Expand description
Implementations§
source§impl 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(&self) -> Bone
pub unsafe fn get_unchecked(&self) -> Bone
§Safety
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§
source§impl Clone for BoneHandle
impl Clone for BoneHandle
source§fn clone(&self) -> BoneHandle
fn clone(&self) -> BoneHandle
Returns a copy 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 BoneHandle
impl Debug for BoneHandle
source§impl PartialEq for BoneHandle
impl PartialEq for BoneHandle
source§fn eq(&self, other: &BoneHandle) -> bool
fn eq(&self, other: &BoneHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BoneHandle
impl Eq for BoneHandle
impl StructuralPartialEq for BoneHandle
Auto Trait Implementations§
impl Freeze for BoneHandle
impl RefUnwindSafe for BoneHandle
impl Send for BoneHandle
impl Sync for BoneHandle
impl Unpin for BoneHandle
impl UnwindSafe for BoneHandle
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