Struct rs_pbrt::materials::disney::DisneyDiffuse
source · pub struct DisneyDiffuse {
pub r: Spectrum,
pub sc_opt: Option<Spectrum>,
}
Fields§
§r: Spectrum
§sc_opt: Option<Spectrum>
Implementations§
Trait Implementations§
source§impl Clone for DisneyDiffuse
impl Clone for DisneyDiffuse
source§fn clone(&self) -> DisneyDiffuse
fn clone(&self) -> DisneyDiffuse
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 DisneyDiffuse
impl Debug for DisneyDiffuse
impl Copy for DisneyDiffuse
Auto Trait Implementations§
impl RefUnwindSafe for DisneyDiffuse
impl Send for DisneyDiffuse
impl Sync for DisneyDiffuse
impl Unpin for DisneyDiffuse
impl UnwindSafe for DisneyDiffuse
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