pub enum RenderDuration {
Duration(usize),
Samples(usize),
}Expand description
Specifies how long to render.
Variants§
Duration(usize)
Render for a duration in seconds.
Samples(usize)
Render a specific number of samples (per channel).
Trait Implementations§
Source§impl Clone for RenderDuration
impl Clone for RenderDuration
Source§fn clone(&self) -> RenderDuration
fn clone(&self) -> RenderDuration
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 moreSource§impl Debug for RenderDuration
impl Debug for RenderDuration
Source§impl PartialEq for RenderDuration
impl PartialEq for RenderDuration
impl Copy for RenderDuration
impl Eq for RenderDuration
impl StructuralPartialEq for RenderDuration
Auto Trait Implementations§
impl Freeze for RenderDuration
impl RefUnwindSafe for RenderDuration
impl Send for RenderDuration
impl Sync for RenderDuration
impl Unpin for RenderDuration
impl UnwindSafe for RenderDuration
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