Trait librsnek::api::method::Equal [] [src]

pub trait Equal {
    fn op_eq(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error> { ... }
    fn native_eq(&self, other: &Type) -> Result<Boolean, Error> { ... }
}

api_trait!(binary, self, __eq__, Equal, op_eq, native_eq, rs::Boolean);

Provided Methods

Default implementation of equals fallsbacks to op_is.

Default implementation of equals fallsbacks to op_is.

Implementors