[−][src]Module threshold::below_exset
This module contains an implementation of a below-exception set.
Examples
use threshold::*; let mut below_exset = BelowExSet::new(); assert_eq!(below_exset.next_event(), 1); assert!(below_exset.is_event(1)); assert!(!below_exset.is_event(2)); let other = BelowExSet::from_event(3); assert!(!other.is_event(1)); assert!(!other.is_event(2)); assert!(other.is_event(3)); below_exset.join(&other); assert!(below_exset.is_event(1)); assert!(!below_exset.is_event(2)); assert!(below_exset.is_event(3));
Structs
BelowExSet | |
IntoIter |