[][src]Struct pyrpds::list::List

pub struct List { /* fields omitted */ }

Implementations

impl List[src]

#[must_use]pub fn new() -> Self[src]

impl List[src]

pub fn push_front(&self, py_object: PyObject) -> PyResult<Self>[src]

pub fn reverse(&self) -> PyResult<Self>[src]

pub fn first(&self) -> PyResult<PyObject>[src]

Trait Implementations

impl Default for List[src]

impl Display for List[src]

impl<'a> ExtractExt<'a> for &'a List[src]

type Target = PyRef<'a, List>

impl<'a> ExtractExt<'a> for &'a mut List[src]

type Target = PyRefMut<'a, List>

impl Hash for List[src]

impl IntoPy<PyObject> for List[src]

impl PyClass for List[src]

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it's PyDict. Read more

impl PyClassAlloc for List[src]

impl<'p> PyIterIterProtocol<'p> for List[src]

impl<'p> PyIterProtocol<'p> for List[src]

impl PyMethodsInventoryDispatch for List[src]

type InventoryType = ListGeneratedPyo3Inventory

This allows us to get the inventory type when only the pyclass is in scope

impl<'p> PyObjectHashProtocol<'p> for List[src]

impl<'p> PyObjectProtocol<'p> for List

impl<'p> PyObjectReprProtocol<'p> for List[src]

impl<'p> PyObjectRichcmpProtocol<'p> for List[src]

type Other = &'p PyAny

type Success = bool

type Result = PyResult<bool>

impl<'p> PySequenceLenProtocol<'p> for List[src]

impl<'p> PySequenceProtocol<'p> for List[src]

impl PyTypeInfo for List[src]

type Type = List

Type of objects to store in PyObject struct

type BaseType = PyAny

Base class

type Layout = PyCell<Self>

Layout

type BaseLayout = PyCellBase<PyAny>

Layout of Basetype.

type Initializer = PyClassInitializer<Self>

Initializer for layout

type AsRefTarget = PyCell<Self>

Utility type to make AsPyRef work

Auto Trait Implementations

impl !RefUnwindSafe for List

impl !Send for List

impl !Sync for List

impl Unpin for List

impl UnwindSafe for List

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> FromPy<T> for T[src]

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

impl<T, U> IntoPy<U> for T where
    U: FromPy<T>, 
[src]

impl<T> PyClassAlloc for T where
    T: PyTypeInfo + PyClassWithFreeList
[src]

impl<T> PyMethodsProtocol for T where
    T: PyMethodsInventoryDispatch, 
[src]

impl<T> PyTypeObject for T where
    T: PyTypeInfo
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[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.