Trait librsnek::api::method::NegateValue
[−]
[src]
pub trait NegateValue { fn op_neg(&self, &Runtime) -> Result<RtObject, Error> { ... } fn native_neg(&self) -> Result<Number, Error> { ... } }
Provided Methods
fn op_neg(&self, &Runtime) -> Result<RtObject, Error>
Runtime API Method $pyname
fn native_neg(&self) -> Result<Number, Error>
Native API Method $pyname
Implementors
impl NegateValue for RtObject
impl NegateValue for WeakRtObject
impl NegateValue for Type
impl NegateValue for RefCountedValue<BoolValue, RefCount>
impl NegateValue for RefCountedValue<StringValue, RefCount>
impl NegateValue for RefCountedValue<CodeValue, RefCount>
impl NegateValue for RefCountedValue<ComplexValue, RefCount>
impl NegateValue for RefCountedValue<DictValue, RefCount>
impl NegateValue for RefCountedValue<FloatValue, RefCount>
impl NegateValue for RefCountedValue<FrameValue, RefCount>
impl NegateValue for RefCountedValue<FrozenSetValue, RefCount>
impl NegateValue for RefCountedValue<IntValue, RefCount>
impl NegateValue for RefCountedValue<IteratorValue, RefCount>
impl NegateValue for RefCountedValue<ListValue, RefCount>
impl NegateValue for RefCountedValue<FuncValue, RefCount>
impl NegateValue for RefCountedValue<NoneValue, RefCount>
impl NegateValue for RefCountedValue<ObjectValue, RefCount>
impl NegateValue for RefCountedValue<TypeValue, RefCount>
impl NegateValue for RefCountedValue<SetValue, RefCount>
impl NegateValue for RefCountedValue<StringValue, RefCount>
impl NegateValue for RefCountedValue<TupleValue, RefCount>