Trait ObjectPartialEq

Source
pub trait ObjectPartialEq {
    // Required method
    fn eq(&self, other: Rc<dyn Object>) -> bool;

    // Provided method
    fn ne(&self, other: Rc<dyn Object>) -> bool { ... }
}
Expand description

Stainless Script Object version of PartialEq

Required Methods§

Source

fn eq(&self, other: Rc<dyn Object>) -> bool

Provided Methods§

Source

fn ne(&self, other: Rc<dyn Object>) -> bool

Implementations on Foreign Types§

Source§

impl ObjectPartialEq for bool

Source§

fn eq(&self, other: Rc<dyn Object>) -> bool

Source§

impl ObjectPartialEq for f64

Source§

fn eq(&self, other: Rc<dyn Object>) -> bool

Source§

impl ObjectPartialEq for String

Source§

fn eq(&self, other: Rc<dyn Object>) -> bool

Implementors§