#[doc(hidden)] struct MixedComplexEnum_Nothing;
Implementations§
Source§impl MixedComplexEnum_Nothing
impl MixedComplexEnum_Nothing
fn __pymethod___match_args____(py: Python<'_>) -> PyResult<PyObject>
unsafe fn __pymethod___new____( py: Python<'_>, _slf: *mut PyTypeObject, _args: *mut PyObject, _kwargs: *mut PyObject, ) -> PyResult<*mut PyObject>
Source§impl MixedComplexEnum_Nothing
impl MixedComplexEnum_Nothing
fn __pymethod_constructor__( py: Python<'_>, ) -> PyClassInitializer<MixedComplexEnum_Nothing>
fn __match_args__(py: Python<'_>) -> PyResult<Bound<'_, PyTuple>>
Trait Implementations§
Source§impl PyClass for MixedComplexEnum_Nothing
impl PyClass for MixedComplexEnum_Nothing
Source§impl PyClassImpl for MixedComplexEnum_Nothing
impl PyClassImpl for MixedComplexEnum_Nothing
Source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
#[pyclass(subclass)]
Source§const IS_SUBCLASS: bool = true
const IS_SUBCLASS: bool = true
#[pyclass(extends=…)]
Source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
#[pyclass(mapping)]
Source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
#[pyclass(sequence)]
Source§type BaseType = MixedComplexEnum
type BaseType = MixedComplexEnum
Base class
Source§type ThreadChecker = SendablePyClass<MixedComplexEnum_Nothing>
type ThreadChecker = SendablePyClass<MixedComplexEnum_Nothing>
This handles following two situations: Read more
Source§type PyClassMutability = <<MixedComplexEnum as PyClassBaseType>::PyClassMutability as PyClassMutability>::ImmutableChild
type PyClassMutability = <<MixedComplexEnum as PyClassBaseType>::PyClassMutability as PyClassMutability>::ImmutableChild
Immutable or mutable
Source§type BaseNativeType = <<MixedComplexEnum_Nothing as PyClassImpl>::BaseType as PyClassBaseType>::BaseNativeType
type BaseNativeType = <<MixedComplexEnum_Nothing 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
.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
Source§impl PyClassNewTextSignature<MixedComplexEnum_Nothing> for PyClassImplCollector<MixedComplexEnum_Nothing>
impl PyClassNewTextSignature<MixedComplexEnum_Nothing> for PyClassImplCollector<MixedComplexEnum_Nothing>
fn new_text_signature(self) -> Option<&'static str>
Source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a MixedComplexEnum_Nothing
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a MixedComplexEnum_Nothing
Source§impl PyTypeInfo for MixedComplexEnum_Nothing
impl PyTypeInfo for MixedComplexEnum_Nothing
Source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
§fn type_object(py: Python<'_>) -> Bound<'_, PyType>
fn type_object(py: Python<'_>) -> Bound<'_, PyType>
Returns the safe abstraction over the type object.
§fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
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
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
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
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
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
].