HasLen

Trait HasLen 

Source
pub trait HasLen<K: ArrayKind> {
    // Required method
    fn len(&self) -> K::I;

    // Provided method
    fn is_empty(&self) -> bool { ... }
}

Required Methods§

Source

fn len(&self) -> K::I

Provided Methods§

Source

fn is_empty(&self) -> bool

Implementors§

Source§

impl<K: ArrayKind> HasLen<K> for FiniteFunction<K>

Source§

impl<K: ArrayKind, F> HasLen<K> for IndexedCoproduct<K, F>
where K::Type<K::I>: NaturalArray<K>,

Source§

impl<K: ArrayKind, T> HasLen<K> for SemifiniteFunction<K, T>
where K::Type<T>: Array<K, T>,