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