Struct quil_rs::instruction::QubitPlaceholder
source · pub struct QubitPlaceholder(/* private fields */);
Expand description
An opaque placeholder for a qubit whose index may be assigned at a later time.
Trait Implementations§
source§impl Clone for QubitPlaceholder
impl Clone for QubitPlaceholder
source§fn clone(&self) -> QubitPlaceholder
fn clone(&self) -> QubitPlaceholder
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 QubitPlaceholder
impl Debug for QubitPlaceholder
source§impl Default for QubitPlaceholder
impl Default for QubitPlaceholder
source§impl Hash for QubitPlaceholder
impl Hash for QubitPlaceholder
source§impl Ord for QubitPlaceholder
impl Ord for QubitPlaceholder
source§impl PartialEq<QubitPlaceholder> for QubitPlaceholder
impl PartialEq<QubitPlaceholder> for QubitPlaceholder
source§impl PartialOrd<QubitPlaceholder> for QubitPlaceholder
impl PartialOrd<QubitPlaceholder> for QubitPlaceholder
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 moreimpl Eq for QubitPlaceholder
impl StructuralEq for QubitPlaceholder
Auto Trait Implementations§
impl RefUnwindSafe for QubitPlaceholder
impl Send for QubitPlaceholder
impl Sync for QubitPlaceholder
impl Unpin for QubitPlaceholder
impl UnwindSafe for QubitPlaceholder
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.