pub struct ModelAnimation(/* private fields */);Implementations§
Source§impl ModelAnimation
impl ModelAnimation
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 ModelAnimation
impl ModelAnimation
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) -> ModelAnimation
pub unsafe fn from_raw(raw: ModelAnimation) -> ModelAnimation
converts raylib-sys object to a “safe” version. Make sure to call this function from the thread the resource was created.
Source§impl ModelAnimation
impl ModelAnimation
pub unsafe fn make_weak(self) -> WeakModelAnimation
Trait Implementations§
Source§impl AsMut<ModelAnimation> for ModelAnimation
impl AsMut<ModelAnimation> for ModelAnimation
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 ModelAnimation
impl AsRef<ModelAnimation> for ModelAnimation
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 Debug for ModelAnimation
impl Debug for ModelAnimation
Source§impl Deref for ModelAnimation
impl Deref for ModelAnimation
Source§type Target = ModelAnimation
type Target = ModelAnimation
The resulting type after dereferencing.
Source§impl DerefMut for ModelAnimation
impl DerefMut for ModelAnimation
Source§impl Drop for ModelAnimation
impl Drop for ModelAnimation
Auto Trait Implementations§
impl Freeze for ModelAnimation
impl RefUnwindSafe for ModelAnimation
impl !Send for ModelAnimation
impl !Sync for ModelAnimation
impl Unpin for ModelAnimation
impl UnsafeUnpin for ModelAnimation
impl UnwindSafe for ModelAnimation
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