Struct quil::instruction::PyComparisonOperand
source · pub struct PyComparisonOperand(/* private fields */);Implementations§
source§impl PyComparisonOperand
impl PyComparisonOperand
pub fn from_memory_reference( py: Python<'_>, inner: PyMemoryReference ) -> PyResult<Self>
Trait Implementations§
source§impl AsMut<<PyComparisonOperand as PyWrapper>::Inner> for PyComparisonOperand
impl AsMut<<PyComparisonOperand as PyWrapper>::Inner> for PyComparisonOperand
source§impl AsRef<ComparisonOperand> for PyComparisonOperand
impl AsRef<ComparisonOperand> for PyComparisonOperand
source§fn as_ref(&self) -> &ComparisonOperand
fn as_ref(&self) -> &ComparisonOperand
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for PyComparisonOperand
impl Clone for PyComparisonOperand
source§fn clone(&self) -> PyComparisonOperand
fn clone(&self) -> PyComparisonOperand
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 PyComparisonOperand
impl Debug for PyComparisonOperand
source§impl From<&ComparisonOperand> for PyComparisonOperand
impl From<&ComparisonOperand> for PyComparisonOperand
source§fn from(inner: &ComparisonOperand) -> Self
fn from(inner: &ComparisonOperand) -> Self
Converts to this type from the input type.
source§impl From<ComparisonOperand> for PyComparisonOperand
impl From<ComparisonOperand> for PyComparisonOperand
source§fn from(inner: ComparisonOperand) -> Self
fn from(inner: ComparisonOperand) -> Self
Converts to this type from the input type.
source§impl From<PyComparisonOperand> for ComparisonOperand
impl From<PyComparisonOperand> for ComparisonOperand
source§fn from(wrapper: PyComparisonOperand) -> Self
fn from(wrapper: PyComparisonOperand) -> Self
Converts to this type from the input type.
source§impl PartialEq for PyComparisonOperand
impl PartialEq for PyComparisonOperand
source§fn eq(&self, other: &PyComparisonOperand) -> bool
fn eq(&self, other: &PyComparisonOperand) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PyClass for PyComparisonOperand
impl PyClass for PyComparisonOperand
source§impl PyClassImpl for PyComparisonOperand
impl PyClassImpl for PyComparisonOperand
source§const IS_BASETYPE: bool = true
const IS_BASETYPE: bool = true
#[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<PyComparisonOperand>
type ThreadChecker = SendablePyClass<PyComparisonOperand>
This handles following two situations: Read more
type Inventory = Pyo3MethodsInventoryForPyComparisonOperand
§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<PyComparisonOperand> for PyClassImplCollector<PyComparisonOperand>
impl PyClassNewTextSignature<PyComparisonOperand> for PyClassImplCollector<PyComparisonOperand>
fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyComparisonOperand
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyComparisonOperand
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyComparisonOperand
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyComparisonOperand
source§impl PyTryFrom<PyAny> for PyComparisonOperand
impl PyTryFrom<PyAny> for PyComparisonOperand
source§impl PyTryFrom<PyComparisonOperand> for ComparisonOperand
impl PyTryFrom<PyComparisonOperand> for ComparisonOperand
source§fn py_try_from(py: Python<'_>, item: &PyComparisonOperand) -> PyResult<Self>
fn py_try_from(py: Python<'_>, item: &PyComparisonOperand) -> PyResult<Self>
source§impl PyTryFrom<PyComparisonOperand> for PyComparisonOperand
impl PyTryFrom<PyComparisonOperand> for PyComparisonOperand
source§fn py_try_from(py: Python<'_>, item: &PyComparisonOperand) -> PyResult<Self>
fn py_try_from(py: Python<'_>, item: &PyComparisonOperand) -> PyResult<Self>
source§impl PyTypeInfo for PyComparisonOperand
impl PyTypeInfo for PyComparisonOperand
§type AsRefTarget = PyCell<PyComparisonOperand>
type AsRefTarget = PyCell<PyComparisonOperand>
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 PyComparisonOperand
impl PyWrapper for PyComparisonOperand
source§impl ToPyObject for PyComparisonOperand
impl ToPyObject for PyComparisonOperand
source§impl<'a> ToPython<PyComparisonOperand> for &'a ComparisonOperand
impl<'a> ToPython<PyComparisonOperand> for &'a ComparisonOperand
impl StructuralPartialEq for PyComparisonOperand
Auto Trait Implementations§
impl RefUnwindSafe for PyComparisonOperand
impl Send for PyComparisonOperand
impl Sync for PyComparisonOperand
impl Unpin for PyComparisonOperand
impl UnwindSafe for PyComparisonOperand
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