Struct quil::instruction::PyTargetPlaceholder
source · pub struct PyTargetPlaceholder(/* private fields */);Implementations§
source§impl PyTargetPlaceholder
impl PyTargetPlaceholder
pub fn __richcmp__(&self, object: &Self, cmp: CompareOp) -> bool
Trait Implementations§
source§impl AsRef<TargetPlaceholder> for PyTargetPlaceholder
impl AsRef<TargetPlaceholder> for PyTargetPlaceholder
source§fn as_ref(&self) -> &TargetPlaceholder
fn as_ref(&self) -> &TargetPlaceholder
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for PyTargetPlaceholder
impl Clone for PyTargetPlaceholder
source§fn clone(&self) -> PyTargetPlaceholder
fn clone(&self) -> PyTargetPlaceholder
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 PyTargetPlaceholder
impl Debug for PyTargetPlaceholder
source§impl From<&TargetPlaceholder> for PyTargetPlaceholder
impl From<&TargetPlaceholder> for PyTargetPlaceholder
source§fn from(inner: &TargetPlaceholder) -> Self
fn from(inner: &TargetPlaceholder) -> Self
Converts to this type from the input type.
source§impl From<PyTargetPlaceholder> for TargetPlaceholder
impl From<PyTargetPlaceholder> for TargetPlaceholder
source§fn from(wrapper: PyTargetPlaceholder) -> Self
fn from(wrapper: PyTargetPlaceholder) -> Self
Converts to this type from the input type.
source§impl From<TargetPlaceholder> for PyTargetPlaceholder
impl From<TargetPlaceholder> for PyTargetPlaceholder
source§fn from(inner: TargetPlaceholder) -> Self
fn from(inner: TargetPlaceholder) -> Self
Converts to this type from the input type.
source§impl Hash for PyTargetPlaceholder
impl Hash for PyTargetPlaceholder
source§impl Ord for PyTargetPlaceholder
impl Ord for PyTargetPlaceholder
source§fn cmp(&self, other: &PyTargetPlaceholder) -> Ordering
fn cmp(&self, other: &PyTargetPlaceholder) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PyTargetPlaceholder
impl PartialEq for PyTargetPlaceholder
source§fn eq(&self, other: &PyTargetPlaceholder) -> bool
fn eq(&self, other: &PyTargetPlaceholder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for PyTargetPlaceholder
impl PartialOrd for PyTargetPlaceholder
source§fn partial_cmp(&self, other: &PyTargetPlaceholder) -> Option<Ordering>
fn partial_cmp(&self, other: &PyTargetPlaceholder) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl PyClass for PyTargetPlaceholder
impl PyClass for PyTargetPlaceholder
source§impl PyClassImpl for PyTargetPlaceholder
impl PyClassImpl for PyTargetPlaceholder
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<PyTargetPlaceholder>
type ThreadChecker = SendablePyClass<PyTargetPlaceholder>
This handles following two situations: Read more
type Inventory = Pyo3MethodsInventoryForPyTargetPlaceholder
§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<PyTargetPlaceholder> for PyClassImplCollector<PyTargetPlaceholder>
impl PyClassNewTextSignature<PyTargetPlaceholder> for PyClassImplCollector<PyTargetPlaceholder>
fn new_text_signature(self) -> Option<&'static str>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyTargetPlaceholder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyTargetPlaceholder
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyTargetPlaceholder
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyTargetPlaceholder
source§impl PyTryFrom<PyAny> for PyTargetPlaceholder
impl PyTryFrom<PyAny> for PyTargetPlaceholder
source§impl PyTryFrom<PyTargetPlaceholder> for PyTargetPlaceholder
impl PyTryFrom<PyTargetPlaceholder> for PyTargetPlaceholder
source§fn py_try_from(py: Python<'_>, item: &PyTargetPlaceholder) -> PyResult<Self>
fn py_try_from(py: Python<'_>, item: &PyTargetPlaceholder) -> PyResult<Self>
source§impl PyTryFrom<PyTargetPlaceholder> for TargetPlaceholder
impl PyTryFrom<PyTargetPlaceholder> for TargetPlaceholder
source§fn py_try_from(py: Python<'_>, item: &PyTargetPlaceholder) -> PyResult<Self>
fn py_try_from(py: Python<'_>, item: &PyTargetPlaceholder) -> PyResult<Self>
source§impl PyTypeInfo for PyTargetPlaceholder
impl PyTypeInfo for PyTargetPlaceholder
§type AsRefTarget = PyCell<PyTargetPlaceholder>
type AsRefTarget = PyCell<PyTargetPlaceholder>
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 PyTargetPlaceholder
impl PyWrapper for PyTargetPlaceholder
source§impl ToPyObject for PyTargetPlaceholder
impl ToPyObject for PyTargetPlaceholder
source§impl<'a> ToPython<PyTargetPlaceholder> for &'a TargetPlaceholder
impl<'a> ToPython<PyTargetPlaceholder> for &'a TargetPlaceholder
impl Eq for PyTargetPlaceholder
impl StructuralEq for PyTargetPlaceholder
impl StructuralPartialEq for PyTargetPlaceholder
Auto Trait Implementations§
impl RefUnwindSafe for PyTargetPlaceholder
impl Send for PyTargetPlaceholder
impl Sync for PyTargetPlaceholder
impl Unpin for PyTargetPlaceholder
impl UnwindSafe for PyTargetPlaceholder
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.