Enum quil_rs::instruction::PauliGate
source · pub enum PauliGate {
I,
X,
Y,
Z,
}
Variants§
Trait Implementations§
source§impl PartialEq<PauliGate> for PauliGate
impl PartialEq<PauliGate> for PauliGate
impl Copy for PauliGate
impl Eq for PauliGate
impl StructuralEq for PauliGate
impl StructuralPartialEq for PauliGate
Auto Trait Implementations§
impl RefUnwindSafe for PauliGate
impl Send for PauliGate
impl Sync for PauliGate
impl Unpin for PauliGate
impl UnwindSafe for PauliGate
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.