Struct puff_rs::python::queue::PyEventLoopQueue
source · pub struct PyEventLoopQueue { /* private fields */ }
Implementations
Trait Implementations
sourceimpl IntoPy<Py<PyAny>> for PyEventLoopQueue
impl IntoPy<Py<PyAny>> for PyEventLoopQueue
sourceimpl PyClass for PyEventLoopQueue
impl PyClass for PyEventLoopQueue
sourceimpl PyClassImpl for PyEventLoopQueue
impl PyClassImpl for PyEventLoopQueue
sourceconst IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
#[pyclass(subclass)]
sourceconst IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]
sourceconst IS_MAPPING: bool = false
const IS_MAPPING: bool = false
#[pyclass(mapping)]
sourceconst IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
#[pyclass(sequence)]
type Layout = PyCell<PyEventLoopQueue>
type Layout = PyCell<PyEventLoopQueue>
Layout
type ThreadChecker = ThreadCheckerStub<PyEventLoopQueue>
type ThreadChecker = ThreadCheckerStub<PyEventLoopQueue>
This handles following two situations: Read more
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable
type Dict = PyClassDummySlot
type Dict = PyClassDummySlot
Specify this class has
#[pyclass(dict)]
or not.type WeakRef = PyClassDummySlot
type WeakRef = PyClassDummySlot
Specify this class has
#[pyclass(weakref)]
or not.type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is
PyAny
by default, and when you declare
#[pyclass(extends=PyDict)]
, it’s PyDict
. Read morefn items_iter() -> PyClassItemsIter
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
sourceimpl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyEventLoopQueue
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyEventLoopQueue
sourceimpl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyEventLoopQueue
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyEventLoopQueue
sourceimpl PyMethods<PyEventLoopQueue> for PyClassImplCollector<PyEventLoopQueue>
impl PyMethods<PyEventLoopQueue> for PyClassImplCollector<PyEventLoopQueue>
fn py_methods(self) -> &'static PyClassItems
sourceimpl PyTypeInfo for PyEventLoopQueue
impl PyTypeInfo for PyEventLoopQueue
type AsRefTarget = PyCell<PyEventLoopQueue>
type AsRefTarget = PyCell<PyEventLoopQueue>
Utility type to make Py::as_ref work.
sourcefn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
sourcefn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.
sourcefn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
Checks if
object
is an instance of this type or a subclass of this type.sourcefn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
Checks if
object
is an instance of this type.Auto Trait Implementations
impl !RefUnwindSafe for PyEventLoopQueue
impl Send for PyEventLoopQueue
impl Sync for PyEventLoopQueue
impl Unpin for PyEventLoopQueue
impl !UnwindSafe for PyEventLoopQueue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more