Struct rusty_spine::SkinHandle
source · [−]pub struct SkinHandle { /* private fields */ }
Implementations
sourceimpl SkinHandle
impl SkinHandle
sourcepub fn get<'a>(
&self,
parent: &'a SkeletonData
) -> Option<CTmpRef<'a, SkeletonData, Skin>>
pub fn get<'a>(
&self,
parent: &'a SkeletonData
) -> Option<CTmpRef<'a, SkeletonData, Skin>>
Safely acquired the item, verifying its existence using its parent.
sourcepub fn get_mut<'a>(
&self,
parent: &'a mut SkeletonData
) -> Option<CTmpMut<'a, SkeletonData, Skin>>
pub fn get_mut<'a>(
&self,
parent: &'a mut SkeletonData
) -> Option<CTmpMut<'a, SkeletonData, Skin>>
Safely acquired the item, verifying its existence using its parent.
sourcepub unsafe fn get_unchecked<'a>(&self) -> Skin
pub unsafe fn get_unchecked<'a>(&self) -> Skin
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 SkinHandle
impl Clone for SkinHandle
sourcefn clone(&self) -> SkinHandle
fn clone(&self) -> SkinHandle
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 SkinHandle
impl Debug for SkinHandle
sourceimpl PartialEq<SkinHandle> for SkinHandle
impl PartialEq<SkinHandle> for SkinHandle
sourcefn eq(&self, other: &SkinHandle) -> bool
fn eq(&self, other: &SkinHandle) -> bool
impl Copy for SkinHandle
impl Eq for SkinHandle
impl StructuralEq for SkinHandle
impl StructuralPartialEq for SkinHandle
Auto Trait Implementations
impl RefUnwindSafe for SkinHandle
impl Send for SkinHandle
impl Sync for SkinHandle
impl Unpin for SkinHandle
impl UnwindSafe for SkinHandle
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