#[repr(u8)]pub enum Elastic {
HenyeyGreenstein = 0,
Mie = 1,
Rayleigh = 2,
SphericalCdf = 3,
}Expand description
Elastic scattering type (bits 18-19)
HenyeyGreenstein: Henyey-Greenstein phase functionMie: Mie scattering (size comparable to wavelength)Rayleigh: Rayleigh scattering (much smaller than wavelength)SphericalCdf: Spherical CDF
Variants§
Trait Implementations§
impl Copy for Elastic
impl Eq for Elastic
impl StructuralPartialEq for Elastic
Auto Trait Implementations§
impl Freeze for Elastic
impl RefUnwindSafe for Elastic
impl Send for Elastic
impl Sync for Elastic
impl Unpin for Elastic
impl UnsafeUnpin for Elastic
impl UnwindSafe for Elastic
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