pub struct RenderStats {
pub samples_rendered: u64,
pub duration_seconds: f64,
pub render_time_seconds: f64,
pub speedup: f64,
}Expand description
Statistics from a completed render.
Fields§
§samples_rendered: u64Total samples rendered (per channel).
duration_seconds: f64Total duration rendered in seconds.
render_time_seconds: f64Wall-clock time taken in seconds.
speedup: f64Speedup factor (duration / render_time).
Trait Implementations§
Source§impl Clone for RenderStats
impl Clone for RenderStats
Source§fn clone(&self) -> RenderStats
fn clone(&self) -> RenderStats
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 moreAuto Trait Implementations§
impl Freeze for RenderStats
impl RefUnwindSafe for RenderStats
impl Send for RenderStats
impl Sync for RenderStats
impl Unpin for RenderStats
impl UnwindSafe for RenderStats
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