pub struct WeakModelAnimation(/* private fields */);
Implementations§
Source§impl WeakModelAnimation
impl WeakModelAnimation
Sourcepub unsafe fn unwrap(self) -> ModelAnimation
pub unsafe fn unwrap(self) -> ModelAnimation
Take the raw ffi type. Must manually free memory by calling the proper unload function
Source§impl WeakModelAnimation
impl WeakModelAnimation
Sourcepub fn to_raw(self) -> ModelAnimation
pub fn to_raw(self) -> ModelAnimation
returns the unwrapped raylib-sys object
Sourcepub unsafe fn from_raw(raw: ModelAnimation) -> Self
pub unsafe fn from_raw(raw: ModelAnimation) -> Self
converts raylib-sys object to a “safe” version. Make sure to call this function from the thread the resource was created.
Trait Implementations§
Source§impl AsMut<ModelAnimation> for WeakModelAnimation
impl AsMut<ModelAnimation> for WeakModelAnimation
Source§fn as_mut(&mut self) -> &mut ModelAnimation
fn as_mut(&mut self) -> &mut ModelAnimation
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<ModelAnimation> for WeakModelAnimation
impl AsRef<ModelAnimation> for WeakModelAnimation
Source§fn as_ref(&self) -> &ModelAnimation
fn as_ref(&self) -> &ModelAnimation
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for WeakModelAnimation
impl Clone for WeakModelAnimation
Source§fn clone(&self) -> WeakModelAnimation
fn clone(&self) -> WeakModelAnimation
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 WeakModelAnimation
impl Debug for WeakModelAnimation
Source§impl Deref for WeakModelAnimation
impl Deref for WeakModelAnimation
Source§impl DerefMut for WeakModelAnimation
impl DerefMut for WeakModelAnimation
Source§impl Drop for WeakModelAnimation
impl Drop for WeakModelAnimation
Auto Trait Implementations§
impl Freeze for WeakModelAnimation
impl RefUnwindSafe for WeakModelAnimation
impl !Send for WeakModelAnimation
impl !Sync for WeakModelAnimation
impl Unpin for WeakModelAnimation
impl UnwindSafe for WeakModelAnimation
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