Struct rustracer::material::DiffuseBRDF
source · pub struct DiffuseBRDF {
pub pigment: Pigment,
}
Expand description
A class representing an ideal diffuse BRDF (also called “Lambertian”).
Fields§
§pigment: Pigment
A generic pigment that implement GetColor
.
Trait Implementations§
source§impl Clone for DiffuseBRDF
impl Clone for DiffuseBRDF
source§fn clone(&self) -> DiffuseBRDF
fn clone(&self) -> DiffuseBRDF
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 DiffuseBRDF
impl Debug for DiffuseBRDF
source§impl Default for DiffuseBRDF
impl Default for DiffuseBRDF
source§impl Eval for DiffuseBRDF
impl Eval for DiffuseBRDF
Auto Trait Implementations§
impl RefUnwindSafe for DiffuseBRDF
impl Send for DiffuseBRDF
impl Sync for DiffuseBRDF
impl Unpin for DiffuseBRDF
impl UnwindSafe for DiffuseBRDF
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