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