pub struct FoldOutcome<S> {
pub state: S,
pub entries_processed: usize,
}Expand description
Outcome of a fold operation.
Deterministic: contains only derived state and entry count. No wall-clock timing.
Fields§
§state: SThe derived state.
entries_processed: usizeNumber of entries processed.
Implementations§
Source§impl<S> FoldOutcome<S>
impl<S> FoldOutcome<S>
Trait Implementations§
Source§impl<S: Clone> Clone for FoldOutcome<S>
impl<S: Clone> Clone for FoldOutcome<S>
Source§fn clone(&self) -> FoldOutcome<S>
fn clone(&self) -> FoldOutcome<S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Debug> Debug for FoldOutcome<S>
impl<S: Debug> Debug for FoldOutcome<S>
Source§impl<S: Default> Default for FoldOutcome<S>
impl<S: Default> Default for FoldOutcome<S>
Source§impl<S: PartialEq> PartialEq for FoldOutcome<S>
impl<S: PartialEq> PartialEq for FoldOutcome<S>
Source§fn eq(&self, other: &FoldOutcome<S>) -> bool
fn eq(&self, other: &FoldOutcome<S>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<S: Eq> Eq for FoldOutcome<S>
impl<S> StructuralPartialEq for FoldOutcome<S>
Auto Trait Implementations§
impl<S> Freeze for FoldOutcome<S>where
S: Freeze,
impl<S> RefUnwindSafe for FoldOutcome<S>where
S: RefUnwindSafe,
impl<S> Send for FoldOutcome<S>where
S: Send,
impl<S> Sync for FoldOutcome<S>where
S: Sync,
impl<S> Unpin for FoldOutcome<S>where
S: Unpin,
impl<S> UnsafeUnpin for FoldOutcome<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for FoldOutcome<S>where
S: UnwindSafe,
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