pub struct MaterialMap(/* private fields */);
Implementations§
Source§impl MaterialMap
impl MaterialMap
Sourcepub unsafe fn unwrap(self) -> MaterialMap
pub unsafe fn unwrap(self) -> MaterialMap
Take the raw ffi type. Must manually free memory by calling the proper unload function
Source§impl MaterialMap
impl MaterialMap
Sourcepub fn to_raw(self) -> MaterialMap
pub fn to_raw(self) -> MaterialMap
returns the unwrapped raylib-sys object
Sourcepub unsafe fn from_raw(raw: MaterialMap) -> Self
pub unsafe fn from_raw(raw: MaterialMap) -> 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<MaterialMap> for MaterialMap
impl AsMut<MaterialMap> for MaterialMap
Source§fn as_mut(&mut self) -> &mut MaterialMap
fn as_mut(&mut self) -> &mut MaterialMap
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<MaterialMap> for MaterialMap
impl AsRef<MaterialMap> for MaterialMap
Source§fn as_ref(&self) -> &MaterialMap
fn as_ref(&self) -> &MaterialMap
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Debug for MaterialMap
impl Debug for MaterialMap
Source§impl Deref for MaterialMap
impl Deref for MaterialMap
Source§impl DerefMut for MaterialMap
impl DerefMut for MaterialMap
Auto Trait Implementations§
impl Freeze for MaterialMap
impl RefUnwindSafe for MaterialMap
impl Send for MaterialMap
impl Sync for MaterialMap
impl Unpin for MaterialMap
impl UnwindSafe for MaterialMap
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