IteratorExt

Trait IteratorExt 

Source
pub trait IteratorExt {
    // Required method
    fn has_single_element(&mut self) -> bool;
}

Required Methods§

Source

fn has_single_element(&mut self) -> bool

Returns true if the given iterator consists of exactly one element

Implementors§