pub trait Cardinality {
type Size: Unsigned + Integer;
// Required method
fn size(&self) -> Self::Size;
}Required Associated Types§
Required Methods§
Implementations on Foreign Types§
Implementors§
Source§impl<Bound> Cardinality for Interval<Bound>
IsSingleton and IsEmpty are defined automatically in gcollections.
impl<Bound> Cardinality for Interval<Bound>
IsSingleton and IsEmpty are defined automatically in gcollections.
Source§impl<Bound: Width + Num> Cardinality for IntervalSet<Bound>
IsSingleton and IsEmpty are defined automatically in gcollections.
impl<Bound: Width + Num> Cardinality for IntervalSet<Bound>
IsSingleton and IsEmpty are defined automatically in gcollections.