Struct rs_pbrt::media::homogeneous::HomogeneousMedium
source · [−]pub struct HomogeneousMedium {
pub sigma_a: Spectrum,
pub sigma_s: Spectrum,
pub sigma_t: Spectrum,
pub g: Float,
}
Fields
sigma_a: Spectrum
sigma_s: Spectrum
sigma_t: Spectrum
g: Float
Implementations
Auto Trait Implementations
impl RefUnwindSafe for HomogeneousMedium
impl Send for HomogeneousMedium
impl Sync for HomogeneousMedium
impl Unpin for HomogeneousMedium
impl UnwindSafe for HomogeneousMedium
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more