Trait Is

Source
pub trait Is {
    // Required method
    fn is(&self, other: &Self) -> bool;
}

Required Methods§

Source

fn is(&self, other: &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 Is for f32

Source§

fn is(&self, other: &f32) -> bool

Source§

impl Is for f64

Source§

fn is(&self, other: &f64) -> bool

Source§

impl Is for [f32; 20]

Source§

fn is(&self, other: &Self) -> bool

Source§

impl<T: Is> Is for Vec<T>

Source§

fn is(&self, other: &Self) -> bool

Implementors§