pub struct Evaluation {
pub targets: Vec<Option<Vec<[f32; 4]>>>,
pub instructions: u64,
pub samples: u64,
}Expand description
What evaluate returns: the requested outputs of every pixel of the grid as floats, and the counts of the run.
Fields§
§targets: Vec<Option<Vec<[f32; 4]>>>Per requested output: size * size values in row-major order (unrequested components zero), or None when the program does not write the requested components.
instructions: u64Instructions executed, summed over the pixels.
samples: u64Samples requested, summed over the pixels.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Evaluation
impl Freeze for Evaluation
impl RefUnwindSafe for Evaluation
impl Send for Evaluation
impl Sync for Evaluation
impl Unpin for Evaluation
impl UnsafeUnpin for Evaluation
impl UnwindSafe for Evaluation
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