Struct quil::instruction::PyArithmeticOperand
source · pub struct PyArithmeticOperand(/* private fields */);Implementations§
source§impl PyArithmeticOperand
impl PyArithmeticOperand
pub fn from_memory_reference( py: Python<'_>, inner: PyMemoryReference ) -> PyResult<Self>
Trait Implementations§
source§impl AsMut<<PyArithmeticOperand as PyWrapper>::Inner> for PyArithmeticOperand
impl AsMut<<PyArithmeticOperand as PyWrapper>::Inner> for PyArithmeticOperand
source§impl AsRef<ArithmeticOperand> for PyArithmeticOperand
impl AsRef<ArithmeticOperand> for PyArithmeticOperand
source§fn as_ref(&self) -> &ArithmeticOperand
fn as_ref(&self) -> &ArithmeticOperand
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for PyArithmeticOperand
impl Clone for PyArithmeticOperand
source§fn clone(&self) -> PyArithmeticOperand
fn clone(&self) -> PyArithmeticOperand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PyArithmeticOperand
impl Debug for PyArithmeticOperand
source§impl From<&ArithmeticOperand> for PyArithmeticOperand
impl From<&ArithmeticOperand> for PyArithmeticOperand
source§fn from(inner: &ArithmeticOperand) -> Self
fn from(inner: &ArithmeticOperand) -> Self
Converts to this type from the input type.
source§impl From<ArithmeticOperand> for PyArithmeticOperand
impl From<ArithmeticOperand> for PyArithmeticOperand
source§fn from(inner: ArithmeticOperand) -> Self
fn from(inner: ArithmeticOperand) -> Self
Converts to this type from the input type.
source§impl From<PyArithmeticOperand> for ArithmeticOperand
impl From<PyArithmeticOperand> for ArithmeticOperand
source§fn from(wrapper: PyArithmeticOperand) -> Self
fn from(wrapper: PyArithmeticOperand) -> Self
Converts to this type from the input type.
source§impl PartialEq for PyArithmeticOperand
impl PartialEq for PyArithmeticOperand
source§fn eq(&self, other: &PyArithmeticOperand) -> bool
fn eq(&self, other: &PyArithmeticOperand) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PyClass for PyArithmeticOperand
impl PyClass for PyArithmeticOperand
source§impl PyClassImpl for PyArithmeticOperand
impl PyClassImpl for PyArithmeticOperand
source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
#[pyclass(subclass)]
source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
#[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)]
§type ThreadChecker = SendablePyClass<PyArithmeticOperand>
type ThreadChecker = SendablePyClass<PyArithmeticOperand>
This handles following two situations: Read more
type Inventory = Pyo3MethodsInventoryForPyArithmeticOperand
§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable
§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.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl PyClassNewTextSignature<PyArithmeticOperand> for PyClassImplCollector<PyArithmeticOperand>
impl PyClassNewTextSignature<PyArithmeticOperand> for PyClassImplCollector<PyArithmeticOperand>
fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyArithmeticOperand
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyArithmeticOperand
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyArithmeticOperand
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyArithmeticOperand
source§impl PyTryFrom<PyAny> for PyArithmeticOperand
impl PyTryFrom<PyAny> for PyArithmeticOperand
source§impl PyTryFrom<PyArithmeticOperand> for ArithmeticOperand
impl PyTryFrom<PyArithmeticOperand> for ArithmeticOperand
source§fn py_try_from(py: Python<'_>, item: &PyArithmeticOperand) -> PyResult<Self>
fn py_try_from(py: Python<'_>, item: &PyArithmeticOperand) -> PyResult<Self>
source§impl PyTryFrom<PyArithmeticOperand> for PyArithmeticOperand
impl PyTryFrom<PyArithmeticOperand> for PyArithmeticOperand
source§fn py_try_from(py: Python<'_>, item: &PyArithmeticOperand) -> PyResult<Self>
fn py_try_from(py: Python<'_>, item: &PyArithmeticOperand) -> PyResult<Self>
source§impl PyTypeInfo for PyArithmeticOperand
impl PyTypeInfo for PyArithmeticOperand
§type AsRefTarget = PyCell<PyArithmeticOperand>
type AsRefTarget = PyCell<PyArithmeticOperand>
Utility type to make Py::as_ref work.
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
source§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.
source§fn 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.source§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
Checks if
object is an instance of this type.source§impl PyWrapper for PyArithmeticOperand
impl PyWrapper for PyArithmeticOperand
source§impl ToPyObject for PyArithmeticOperand
impl ToPyObject for PyArithmeticOperand
source§impl<'a> ToPython<PyArithmeticOperand> for &'a ArithmeticOperand
impl<'a> ToPython<PyArithmeticOperand> for &'a ArithmeticOperand
impl StructuralPartialEq for PyArithmeticOperand
Auto Trait Implementations§
impl RefUnwindSafe for PyArithmeticOperand
impl Send for PyArithmeticOperand
impl Sync for PyArithmeticOperand
impl Unpin for PyArithmeticOperand
impl UnwindSafe for PyArithmeticOperand
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<'a, T> FromPyObject<'a> for T
impl<'a, T> FromPyObject<'a> for T
source§impl<T> PyErrArguments for T
impl<T> PyErrArguments for T
source§impl<T> PyWrapperMut for T
impl<T> PyWrapperMut for T
source§fn as_inner_mut(&mut self) -> &mut Self::Inner
fn as_inner_mut(&mut self) -> &mut Self::Inner
Returns a mutable reference to the inner item. Read more