pub struct RwMaterial {
pub color: RwColor,
pub is_textured: bool,
pub ambient: Option<f32>,
pub specular: Option<f32>,
pub diffuse: Option<f32>,
pub texture: Option<RwTexture>,
}
Fields§
§color: RwColor
§is_textured: bool
§ambient: Option<f32>
§specular: Option<f32>
§diffuse: Option<f32>
§texture: Option<RwTexture>
Trait Implementations§
Source§impl Clone for RwMaterial
impl Clone for RwMaterial
Source§fn clone(&self) -> RwMaterial
fn clone(&self) -> RwMaterial
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 RwMaterial
impl Debug for RwMaterial
Source§impl PartialEq for RwMaterial
impl PartialEq for RwMaterial
Source§impl Serialize for RwMaterial
impl Serialize for RwMaterial
impl StructuralPartialEq for RwMaterial
Auto Trait Implementations§
impl Freeze for RwMaterial
impl RefUnwindSafe for RwMaterial
impl Send for RwMaterial
impl Sync for RwMaterial
impl Unpin for RwMaterial
impl UnwindSafe for RwMaterial
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