pub trait IsSame<Rhs = Self>where
Rhs: ?Sized,{
// Required method
fn is_same(&self, other: &Rhs) -> bool;
// Provided method
fn is_not_same(&self, other: &Rhs) -> bool { ... }
}
Expand description
Compares two versions of a piece of data to see if it has changed.
Required Methods§
Provided Methods§
Sourcefn is_not_same(&self, other: &Rhs) -> bool
fn is_not_same(&self, other: &Rhs) -> bool
Equivalent to !self.is_same(other)
.