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
pub trait ObjectPartialEq {
// Required method
fn eq(&self, other: Rc<dyn Object>) -> bool;
// Provided method
fn ne(&self, other: Rc<dyn Object>) -> bool { ... }
}
Stainless Script Object version of PartialEq