Struct rillrate::Counter[][src]

pub struct Counter { /* fields omitted */ }

Trait Implementations

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

type Target = PyRef<'a, Counter>

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

type Target = PyRefMut<'a, Counter>

impl HasMethodsInventory for Counter[src]

type Methods = Pyo3MethodsInventoryForCounter

impl IntoPy<Py<PyAny>> for Counter[src]

impl PyClass for Counter[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 Counter[src]

impl PyClassSend for Counter[src]

type ThreadChecker = ThreadCheckerStub<Counter>

impl PyProtoMethods for Counter[src]

impl PyTypeInfo for Counter[src]

type Type = Counter

Type of objects to store in PyObject struct

type BaseType = PyAny

Base class

type Layout = PyCell<Self>


type BaseLayout = PyCellBase<PyAny>

Layout of Basetype.

type Initializer = PyClassInitializer<Self>

Initializer for layout

type AsRefTarget = PyCell<Self>

Utility type to make Py::as_ref work

Auto Trait Implementations

impl !RefUnwindSafe for Counter

impl Send for Counter

impl Sync for Counter

impl Unpin for Counter

impl !UnwindSafe for Counter

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> PyErrArguments for T where
    T: IntoPy<Py<PyAny>> + Send + Sync

impl<T> PyTypeObject for T where
    T: PyTypeInfo

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>,