[][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: PyStringRef, vm: &VirtualMachine) -> PyResult[src]

pub fn contains(&self, attr: PyStringRef, _vm: &VirtualMachine) -> bool[src]

Trait Implementations

impl PyValue for PyMappingProxy[src]

impl PyClassDef for PyMappingProxy[src]

impl PyClassImpl for PyMappingProxy[src]

impl Debug for PyMappingProxy[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self