Skip to main content

OneIter

Trait OneIter 

Source
pub trait OneIter {
    // Required methods
    fn all_one(&self) -> bool;
    fn any_one(&self) -> bool;
}

Required Methods§

Source

fn all_one(&self) -> bool

Source

fn any_one(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, Z> OneIter for T
where &'a T: for<'a> IntoIterator<Item = &'a Z>, Z: One + PartialEq,