Struct qoqo_calculator_pyo3::CalculatorWrapper [−][src]
pub struct CalculatorWrapper { pub r_calculator: Calculator, }
Fields
r_calculator: Calculator
Implementations
Trait Implementations
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 more
#[pyclass(subclass)]
#[pyclass(extends=…)]
type ThreadChecker = ThreadCheckerStub<CalculatorWrapper>
type ThreadChecker = ThreadCheckerStub<CalculatorWrapper>
This handles following two situations: Read more
type AsRefTarget = PyCell<Self>
type AsRefTarget = PyCell<Self>
Utility type to make Py::as_ref work
PyTypeObject instance for this type.
Checks if object
is an instance of this type or a subclass of this type.
Checks if object
is an instance of this type.
Auto Trait Implementations
impl RefUnwindSafe for CalculatorWrapper
impl Send for CalculatorWrapper
impl Sync for CalculatorWrapper
impl Unpin for CalculatorWrapper
impl UnwindSafe for CalculatorWrapper