rand::distributions::utils

Trait BoolAsSIMD

Source
pub(crate) trait BoolAsSIMD: Sized {
    // Required methods
    fn any(self) -> bool;
    fn all(self) -> bool;
    fn none(self) -> bool;
}

Required Methods§

Source

fn any(self) -> bool

Source

fn all(self) -> bool

Source

fn none(self) -> bool

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.

Implementations on Foreign Types§

Source§

impl BoolAsSIMD for bool

Source§

fn any(self) -> bool

Source§

fn all(self) -> bool

Source§

fn none(self) -> bool

Implementors§