[−][src]Trait rustpython_vm::obj::objgetset::IntoPyGetterFunc
Required methods
fn into_getter(self) -> PyGetterFunc
Implementors
impl<F, S, R> IntoPyGetterFunc<(RefParam<S>, R, VirtualMachine)> for F where
F: Fn(&S, &VirtualMachine) -> R + 'static,
S: PyValue,
R: IntoPyObject,
[src]
F: Fn(&S, &VirtualMachine) -> R + 'static,
S: PyValue,
R: IntoPyObject,
fn into_getter(self) -> PyGetterFunc
[src]
impl<F, S, R> IntoPyGetterFunc<(RefParam<S>, R)> for F where
F: Fn(&S) -> R + 'static,
S: PyValue,
R: IntoPyObject,
[src]
F: Fn(&S) -> R + 'static,
S: PyValue,
R: IntoPyObject,
fn into_getter(self) -> PyGetterFunc
[src]
impl<F, T, R> IntoPyGetterFunc<(OwnedParam<T>, R, VirtualMachine)> for F where
F: Fn(T, &VirtualMachine) -> R + 'static,
T: TryFromObject,
R: IntoPyObject,
[src]
F: Fn(T, &VirtualMachine) -> R + 'static,
T: TryFromObject,
R: IntoPyObject,
fn into_getter(self) -> PyGetterFunc
[src]
impl<F, T, R> IntoPyGetterFunc<(OwnedParam<T>, R)> for F where
F: Fn(T) -> R + 'static,
T: TryFromObject,
R: IntoPyObject,
[src]
F: Fn(T) -> R + 'static,
T: TryFromObject,
R: IntoPyObject,