#[repr(C)]pub struct MaterialMap {
pub texture: Texture,
pub color: Color,
pub value: f32,
}Fields§
§texture: Texture§color: Color§value: f32Trait 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 Clone for MaterialMap
impl Clone for MaterialMap
Source§fn clone(&self) -> MaterialMap
fn clone(&self) -> MaterialMap
Returns a duplicate 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 MaterialMap
impl Debug for MaterialMap
impl Copy 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 UnsafeUnpin 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