pub enum AggregateLogic {
All,
Any,
None,
Some(usize),
}Expand description
Defines how the results from a collection of Causable items should be aggregated.
Variants§
All
Returns true only if all members evaluate to a propagating effect.
Any
Returns true if at least one member evaluates to a propagating effect.
None
Returns true only if none of the members evaluate to a propagating effect.
Some(usize)
Returns true if at least k members evaluate to a propagating effect.
Trait Implementations§
Source§impl Clone for AggregateLogic
impl Clone for AggregateLogic
Source§fn clone(&self) -> AggregateLogic
fn clone(&self) -> AggregateLogic
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 AggregateLogic
impl Debug for AggregateLogic
Source§impl Display for AggregateLogic
impl Display for AggregateLogic
Source§impl Hash for AggregateLogic
impl Hash for AggregateLogic
Source§impl PartialEq for AggregateLogic
impl PartialEq for AggregateLogic
impl Copy for AggregateLogic
impl Eq for AggregateLogic
impl StructuralPartialEq for AggregateLogic
Auto Trait Implementations§
impl Freeze for AggregateLogic
impl RefUnwindSafe for AggregateLogic
impl Send for AggregateLogic
impl Sync for AggregateLogic
impl Unpin for AggregateLogic
impl UnwindSafe for AggregateLogic
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