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