pub struct Material(/* private fields */);Implementations§
Trait Implementations§
Source§impl RaylibMaterial for Material
impl RaylibMaterial for Material
fn shader(&self) -> &WeakShader
fn shader_mut(&mut self) -> &mut WeakShader
fn maps(&self) -> &[MaterialMap]
fn maps_mut(&mut self) -> &mut [MaterialMap]
fn set_material_texture( &mut self, map_type: MaterialMapIndex, texture: impl AsRef<Texture>, )
fn is_material_valid(&mut self) -> bool
Auto Trait Implementations§
impl Freeze for Material
impl RefUnwindSafe for Material
impl !Send for Material
impl !Sync for Material
impl Unpin for Material
impl UnsafeUnpin for Material
impl UnwindSafe for Material
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