Struct ComplexEnum_EmptyStruct

Source
#[doc(hidden)] struct ComplexEnum_EmptyStruct;

Implementations§

Source§

impl ComplexEnum_EmptyStruct

Source

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

Source

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

Source§

impl ComplexEnum_EmptyStruct

Source

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

Source§

impl ComplexEnum_EmptyStruct

Source

fn __pymethod_constructor__( py: Python<'_>, ) -> PyClassInitializer<ComplexEnum_EmptyStruct>

Source

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

Trait Implementations§

Source§

impl PyClass for ComplexEnum_EmptyStruct

Source§

type Frozen = True

Whether the pyclass is frozen. Read more
Source§

impl PyClassImpl for ComplexEnum_EmptyStruct

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 = ComplexEnum

Base class
Source§

type ThreadChecker = SendablePyClass<ComplexEnum_EmptyStruct>

This handles following two situations: Read more
Source§

type PyClassMutability = <<ComplexEnum 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 = <<ComplexEnum_EmptyStruct 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<ComplexEnum_EmptyStruct> for PyClassImplCollector<ComplexEnum_EmptyStruct>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl PyTypeInfo for ComplexEnum_EmptyStruct

Source§

const NAME: &'static str = "ComplexEnum_EmptyStruct"

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