Struct TupleEnum_Full

Source
#[doc(hidden)] struct TupleEnum_Full;

Implementations§

Source§

impl TupleEnum_Full

Source

unsafe fn __pymethod_get__0__( py: Python<'_>, _slf: *mut PyObject, ) -> PyResult<*mut PyObject>

Source

unsafe fn __pymethod_get__1__( py: Python<'_>, _slf: *mut PyObject, ) -> PyResult<*mut PyObject>

Source

unsafe fn __pymethod_get__2__( py: Python<'_>, _slf: *mut PyObject, ) -> PyResult<*mut PyObject>

Source

fn __pymethod___match_args____(py: Python<'_>) -> PyResult<PyObject>

Source

unsafe fn __pymethod___default___len______( py: Python<'_>, _raw_slf: *mut PyObject, ) -> PyResult<Py_ssize_t>

Source

unsafe fn __pymethod___default___getitem______( py: Python<'_>, _raw_slf: *mut PyObject, arg0: *mut PyObject, ) -> PyResult<*mut PyObject>

Source

unsafe fn __pymethod___new____( py: Python<'_>, _slf: *mut PyTypeObject, _args: *mut PyObject, _kwargs: *mut PyObject, ) -> PyResult<*mut PyObject>

Source§

impl TupleEnum_Full

Source

#[doc(hidden)] pub const _PYO3_DEF: AddClassToModule<Self>

Source§

impl TupleEnum_Full

Source

fn __pymethod_constructor__( py: Python<'_>, _0: i32, _1: f64, _2: bool, ) -> PyClassInitializer<TupleEnum_Full>

Source

fn __len__(slf: PyRef<'_, Self>) -> PyResult<usize>

Source

fn __getitem__(slf: PyRef<'_, Self>, idx: usize) -> PyResult<PyObject>

Source

fn __match_args__(py: Python<'_>) -> PyResult<Bound<'_, PyTuple>>

Source

fn _0(slf: PyRef<'_, Self>) -> PyResult<PyObject>

Source

fn _1(slf: PyRef<'_, Self>) -> PyResult<PyObject>

Source

fn _2(slf: PyRef<'_, Self>) -> PyResult<PyObject>

Trait Implementations§

Source§

impl PyClass for TupleEnum_Full

Source§

type Frozen = True

Whether the pyclass is frozen. Read more
Source§

impl PyClassImpl for TupleEnum_Full

Source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
Source§

const IS_SUBCLASS: bool = true

#[pyclass(extends=…)]
Source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
Source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
Source§

type BaseType = TupleEnum

Base class
Source§

type ThreadChecker = SendablePyClass<TupleEnum_Full>

This handles following two situations: Read more
Source§

type PyClassMutability = <<TupleEnum as PyClassBaseType>::PyClassMutability as PyClassMutability>::ImmutableChild

Immutable or mutable
Source§

type Dict = PyClassDummySlot

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

type WeakRef = PyClassDummySlot

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

type BaseNativeType = <<TupleEnum_Full as PyClassImpl>::BaseType as PyClassBaseType>::BaseNativeType

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

fn items_iter() -> PyClassItemsIter

Source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
Source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

Source§

impl PyClassNewTextSignature<TupleEnum_Full> for PyClassImplCollector<TupleEnum_Full>

Source§

fn new_text_signature(self) -> Option<&'static str>

Source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TupleEnum_Full

Source§

type Holder = Option<PyRef<'py, TupleEnum_Full>>

Source§

fn extract( obj: &'a Bound<'py, PyAny>, holder: &'a mut Self::Holder, ) -> PyResult<Self>

Source§

impl PyTypeInfo for TupleEnum_Full

Source§

const NAME: &'static str = "TupleEnum_Full"

Class name.
Source§

const MODULE: Option<&'static str> = ::core::option::Option::None

Module name, if any.
Source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> Bound<'_, PyType>

Returns the safe abstraction over the type object.
§

fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>

👎Deprecated since 0.23.0: renamed to PyTypeInfo::type_object
Deprecated name for [PyTypeInfo::type_object].
§

fn is_type_of(object: &Bound<'_, PyAny>) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool

👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_type_of
Deprecated name for [PyTypeInfo::is_type_of].
§

fn is_exact_type_of(object: &Bound<'_, PyAny>) -> bool

Checks if object is an instance of this type.
§

fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool

👎Deprecated since 0.23.0: renamed to PyTypeInfo::is_exact_type_of
Deprecated name for [PyTypeInfo::is_exact_type_of].
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here