Struct rs_pbrt::integrators::mlt::PrimarySample
source · pub struct PrimarySample {
pub value: Float,
pub last_modification_iteration: i64,
pub value_backup: Float,
pub modify_backup: i64,
}
Fields§
§value: Float
§last_modification_iteration: i64
§value_backup: Float
§modify_backup: i64
Implementations§
Trait Implementations§
source§impl Clone for PrimarySample
impl Clone for PrimarySample
source§fn clone(&self) -> PrimarySample
fn clone(&self) -> PrimarySample
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 PrimarySample
impl Debug for PrimarySample
source§impl Default for PrimarySample
impl Default for PrimarySample
source§fn default() -> PrimarySample
fn default() -> PrimarySample
Returns the “default value” for a type. Read more
impl Copy for PrimarySample
Auto Trait Implementations§
impl RefUnwindSafe for PrimarySample
impl Send for PrimarySample
impl Sync for PrimarySample
impl Unpin for PrimarySample
impl UnwindSafe for PrimarySample
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
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.