ArrayInstanceAnyAll

Trait ArrayInstanceAnyAll 

Source
pub trait ArrayInstanceAnyAll: ArrayInstance {
    // Provided methods
    fn all(&self) -> bool { ... }
    fn any(&self) -> bool { ... }
}
Expand description

Defines cumulative boolean operations any and all.

Provided Methods§

Source

fn all(&self) -> bool

Returns true if all elements are nonzero.

Source

fn any(&self) -> bool

Returns true if any element is nonzero.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§