pub enum PerPointParallelism {
Safe,
Sequential,
}Expand description
Classification of a per_point block for the parallel-samples pass.
Variants§
Safe
Samples can be evaluated independently — output of sample S
does not feed into sample S+1.
Sequential
Sequential evaluation only — at least one of: carry-read on
{x,y,r,g,b,a}, write outside the allowed output set, or call
to a stateful function.
Implementations§
Source§impl PerPointParallelism
impl PerPointParallelism
Sourcepub fn is_safe(self) -> bool
pub fn is_safe(self) -> bool
Returns true for PerPointParallelism::Safe.
Trait Implementations§
Source§impl Clone for PerPointParallelism
impl Clone for PerPointParallelism
Source§fn clone(&self) -> PerPointParallelism
fn clone(&self) -> PerPointParallelism
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 PerPointParallelism
impl Debug for PerPointParallelism
Source§impl PartialEq for PerPointParallelism
impl PartialEq for PerPointParallelism
impl Copy for PerPointParallelism
impl Eq for PerPointParallelism
impl StructuralPartialEq for PerPointParallelism
Auto Trait Implementations§
impl Freeze for PerPointParallelism
impl RefUnwindSafe for PerPointParallelism
impl Send for PerPointParallelism
impl Sync for PerPointParallelism
impl Unpin for PerPointParallelism
impl UnwindSafe for PerPointParallelism
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