Trait IsSame

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

    // Provided method
    fn all_same(v1: &Vec<Expr>, v2: &Vec<Expr>) -> bool { ... }
}

Required Methods§

Source

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

Provided Methods§

Source

fn all_same(v1: &Vec<Expr>, v2: &Vec<Expr>) -> 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.

Implementors§