Enum rs_pbrt::integrators::directlighting::LightStrategy
source · pub enum LightStrategy {
UniformSampleAll,
UniformSampleOne,
}
Variants§
Trait Implementations§
source§impl Clone for LightStrategy
impl Clone for LightStrategy
source§fn clone(&self) -> LightStrategy
fn clone(&self) -> LightStrategy
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 LightStrategy
impl Debug for LightStrategy
source§impl PartialEq<LightStrategy> for LightStrategy
impl PartialEq<LightStrategy> for LightStrategy
source§fn eq(&self, other: &LightStrategy) -> bool
fn eq(&self, other: &LightStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LightStrategy
Auto Trait Implementations§
impl RefUnwindSafe for LightStrategy
impl Send for LightStrategy
impl Sync for LightStrategy
impl Unpin for LightStrategy
impl UnwindSafe for LightStrategy
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