#[repr(C)]pub struct MaterialMap {
pub texture: Texture2D,
pub color: Color,
pub value: f32,
}Fields§
§texture: Texture2D§color: Color§value: f32Trait Implementations§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MaterialMap
Source§impl Debug for MaterialMap
impl Debug for MaterialMap
Source§impl Default for MaterialMap
impl Default for MaterialMap
Source§impl PartialEq for MaterialMap
impl PartialEq for MaterialMap
Source§fn eq(&self, other: &MaterialMap) -> bool
fn eq(&self, other: &MaterialMap) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq 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