pub struct Work {
pub samples: u64,
pub priced_flops: u128,
pub waves: Option<u128>,
}Expand description
What a stream or a render did, counted exactly and alike on every machine: the samples written, the price, and the waves summed.
Fields§
§samples: u64§priced_flops: u128§waves: Option<u128>Trait Implementations§
impl Copy for Work
impl Eq for Work
impl StructuralPartialEq for Work
Auto Trait Implementations§
impl Freeze for Work
impl RefUnwindSafe for Work
impl Send for Work
impl Sync for Work
impl Unpin for Work
impl UnsafeUnpin for Work
impl UnwindSafe for Work
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