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