[][src]Struct rustpython_vm::obj::objmappingproxy::PyMappingProxy

pub struct PyMappingProxy { /* fields omitted */ }

Methods

impl PyMappingProxy[src]

pub fn new(class: PyClassRef) -> PyMappingProxy[src]

pub fn getitem(&self, key: PyObjectRef, vm: &VirtualMachine) -> PyResult[src]

pub fn contains(&self, key: PyObjectRef, vm: &VirtualMachine) -> PyResult[src]

pub fn iter(&self, vm: &VirtualMachine) -> PyResult[src]

pub fn items(&self, vm: &VirtualMachine) -> PyResult[src]

pub fn keys(&self, vm: &VirtualMachine) -> PyResult[src]

pub fn values(&self, vm: &VirtualMachine) -> PyResult[src]

Trait Implementations

impl Debug for PyMappingProxy[src]

impl PyClassDef for PyMappingProxy[src]

impl PyClassImpl for PyMappingProxy[src]

impl PyValue for PyMappingProxy[src]

Auto Trait Implementations

impl !RefUnwindSafe for PyMappingProxy

impl !Send for PyMappingProxy

impl !Sync for PyMappingProxy

impl Unpin for PyMappingProxy

impl !UnwindSafe for PyMappingProxy

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoPyObject for T where
    T: PyValue
[src]

impl<T> PyObjectPayload for T where
    T: 'static + PyValue
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,