Struct rustracer::material::UniformPigment
source · pub struct UniformPigment {
pub color: Color,
}
Expand description
A uniform pigment.
This is the most boring pigment: a uniform hue over the whole surface.
Fields§
§color: Color
A Color
.
Trait Implementations§
source§impl Clone for UniformPigment
impl Clone for UniformPigment
source§fn clone(&self) -> UniformPigment
fn clone(&self) -> UniformPigment
Returns a copy 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 UniformPigment
impl Debug for UniformPigment
source§impl Default for UniformPigment
impl Default for UniformPigment
source§fn default() -> UniformPigment
fn default() -> UniformPigment
Returns the “default value” for a type. Read more
impl Copy for UniformPigment
Auto Trait Implementations§
impl RefUnwindSafe for UniformPigment
impl Send for UniformPigment
impl Sync for UniformPigment
impl Unpin for UniformPigment
impl UnwindSafe for UniformPigment
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