[][src]Trait pyo3::type_object::PyObjectSizedLayout

pub trait PyObjectSizedLayout<T: PyTypeInfo>: PyObjectLayout<T> + Sized { }

T: PyObjectSizedLayout<U> represents T is not a instance of PyVarObject. , in addition that T is a concrete representaion of U.

pyclasses need this trait for their base class.

Implementors

impl PyObjectSizedLayout<PyAny> for PyObject[src]

impl PyObjectSizedLayout<PyBool> for PyObject[src]

impl PyObjectSizedLayout<PyComplex> for PyComplexObject[src]

impl PyObjectSizedLayout<PyDate> for PyDateTime_Date[src]

impl PyObjectSizedLayout<PyDateTime> for PyDateTime_DateTime[src]

impl PyObjectSizedLayout<PyDelta> for PyDateTime_Delta[src]

impl PyObjectSizedLayout<PyDict> for PyDictObject[src]

impl PyObjectSizedLayout<PyFloat> for PyFloatObject[src]

impl PyObjectSizedLayout<PyFrozenSet> for PySetObject[src]

impl PyObjectSizedLayout<PySet> for PySetObject[src]

impl PyObjectSizedLayout<PySlice> for PySliceObject[src]

impl PyObjectSizedLayout<PyTime> for PyDateTime_Time[src]

impl PyObjectSizedLayout<PyTzInfo> for PyObject[src]

impl<T: PyClass> PyObjectSizedLayout<T> for PyClassShell<T>[src]

Loading content...