pub struct IsReflectance;Expand description
Spectral kind marker for spectral reflectance in [0, 1].
Encodes the fraction of incident light reflected at each wavelength. Converting to XYZ requires an illuminant SPD; the dot product is (illuminant * reflectance) dot CMF, not just reflectance dot CMF.
Trait Implementations§
Source§impl Clone for IsReflectance
impl Clone for IsReflectance
Source§fn clone(&self) -> IsReflectance
fn clone(&self) -> IsReflectance
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 IsReflectance
impl Debug for IsReflectance
impl Copy for IsReflectance
impl SpectralKind for IsReflectance
Auto Trait Implementations§
impl Freeze for IsReflectance
impl RefUnwindSafe for IsReflectance
impl Send for IsReflectance
impl Sync for IsReflectance
impl Unpin for IsReflectance
impl UnsafeUnpin for IsReflectance
impl UnwindSafe for IsReflectance
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