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