pub trait AddrEq { // Provided method fn addr_eq(&self, other: &Self) -> bool { ... } }
Equivalent to is in Python
is