[][src]Trait rustpython_vm::obj::objgetset::IntoPySetterFunc

pub trait IntoPySetterFunc<T> {
    fn into_setter(self) -> PySetterFunc;
}

Required methods

fn into_setter(self) -> PySetterFunc

Loading content...

Implementors

impl<F, S, V, R> IntoPySetterFunc<(RefParam<S>, V, R, VirtualMachine)> for F where
    F: Fn(&S, V, &VirtualMachine) -> R + 'static,
    S: PyValue,
    V: TryFromObject,
    R: IntoPyNoResult
[src]

impl<F, S, V, R> IntoPySetterFunc<(RefParam<S>, V, R)> for F where
    F: Fn(&S, V) -> R + 'static,
    S: PyValue,
    V: TryFromObject,
    R: IntoPyNoResult
[src]

impl<F, T, V, R> IntoPySetterFunc<(OwnedParam<T>, V, R, VirtualMachine)> for F where
    F: Fn(T, V, &VirtualMachine) -> R + 'static,
    T: TryFromObject,
    V: TryFromObject,
    R: IntoPyNoResult
[src]

impl<F, T, V, R> IntoPySetterFunc<(OwnedParam<T>, V, R)> for F where
    F: Fn(T, V) -> R + 'static,
    T: TryFromObject,
    V: TryFromObject,
    R: IntoPyNoResult
[src]

Loading content...