Trait librsnek::api::method::NotEqual
[−]
[src]
pub trait NotEqual { fn op_ne(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error> { ... } fn native_ne(&self, other: &Type) -> Result<Boolean, Error> { ... } }
api_trait!(binary, self, __ne__, NotEqual, op_ne, native_ne, rs::Boolean);
Provided Methods
fn op_ne(&self, rt: &Runtime, rhs: &RtObject) -> Result<RtObject, Error>
Default implementation of equals fallsbacks to !op_is
fn native_ne(&self, other: &Type) -> Result<Boolean, Error>
Default implementation of equals fallsbacks to op_is.
Implementors
impl NotEqual for RtObject
impl NotEqual for WeakRtObject
impl NotEqual for Type
impl NotEqual for RefCountedValue<BoolValue, RefCount>
impl NotEqual for RefCountedValue<StringValue, RefCount>
impl NotEqual for RefCountedValue<CodeValue, RefCount>
impl NotEqual for RefCountedValue<ComplexValue, RefCount>
impl NotEqual for RefCountedValue<DictValue, RefCount>
impl NotEqual for RefCountedValue<FloatValue, RefCount>
impl NotEqual for RefCountedValue<FrameValue, RefCount>
impl NotEqual for RefCountedValue<FrozenSetValue, RefCount>
impl NotEqual for RefCountedValue<IntValue, RefCount>
impl NotEqual for RefCountedValue<IteratorValue, RefCount>
impl NotEqual for RefCountedValue<ListValue, RefCount>
impl NotEqual for RefCountedValue<FuncValue, RefCount>
impl NotEqual for RefCountedValue<NoneValue, RefCount>
impl NotEqual for RefCountedValue<ObjectValue, RefCount>
impl NotEqual for RefCountedValue<TypeValue, RefCount>
impl NotEqual for RefCountedValue<SetValue, RefCount>
impl NotEqual for RefCountedValue<StringValue, RefCount>
impl NotEqual for RefCountedValue<TupleValue, RefCount>