Enum quil_rs::instruction::GateModifier
source · pub enum GateModifier {
Controlled,
Dagger,
Forked,
}
Variants§
Trait Implementations§
source§impl Clone for GateModifier
impl Clone for GateModifier
source§fn clone(&self) -> GateModifier
fn clone(&self) -> GateModifier
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 GateModifier
impl Debug for GateModifier
source§impl Display for GateModifier
impl Display for GateModifier
source§impl PartialEq<GateModifier> for GateModifier
impl PartialEq<GateModifier> for GateModifier
source§fn eq(&self, other: &GateModifier) -> bool
fn eq(&self, other: &GateModifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GateModifier
impl StructuralEq for GateModifier
impl StructuralPartialEq for GateModifier
Auto Trait Implementations§
impl RefUnwindSafe for GateModifier
impl Send for GateModifier
impl Sync for GateModifier
impl Unpin for GateModifier
impl UnwindSafe for GateModifier
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.