Struct rusty_spine::c_interface::CRefValidator
source · [−]pub struct CRefValidator<P> { /* private fields */ }Implementations
sourceimpl<P> CRefValidator<P>
impl<P> CRefValidator<P>
pub fn new() -> Self
pub fn check(&self, id: u32) -> bool
pub fn invalidate(&mut self)
pub fn create_ref<T>(&self, value: T) -> CRef<P, T>
pub fn create_mut<T>(&self, value: T) -> CMut<P, T>
Trait Implementations
sourceimpl<P> Clone for CRefValidator<P>
impl<P> Clone for CRefValidator<P>
Auto Trait Implementations
impl<P> RefUnwindSafe for CRefValidator<P>where
P: RefUnwindSafe,
impl<P> Send for CRefValidator<P>where
P: Send,
impl<P> Sync for CRefValidator<P>where
P: Sync,
impl<P> Unpin for CRefValidator<P>where
P: Unpin,
impl<P> UnwindSafe for CRefValidator<P>where
P: UnwindSafe,
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