Enum quil_rs::reserved::ReservedKeyword
source · pub enum ReservedKeyword {
Show 42 variants
Add,
And,
As,
Controlled,
Convert,
Dagger,
Declare,
DefCircuit,
DefGate,
Div,
Eq,
Exchange,
Forked,
Ge,
Gt,
Halt,
Include,
Ior,
Jump,
JumpUnless,
JumpWhen,
Label,
Le,
Load,
Lt,
Matrix,
Measure,
Move,
Mul,
Neg,
Nop,
Not,
Offset,
PauliSum,
Permutation,
Pragma,
Reset,
Sharing,
Store,
Sub,
Wait,
Xor,
}
Expand description
Any reserved keyword that isn’t specifically a gate identifier or constant
Variants§
Add
And
As
Controlled
Convert
Dagger
Declare
DefCircuit
DefGate
Div
Eq
Exchange
Forked
Ge
Gt
Halt
Include
Ior
Jump
JumpUnless
JumpWhen
Label
Le
Load
Lt
Matrix
Measure
Move
Mul
Neg
Nop
Not
Offset
PauliSum
Permutation
Pragma
Reset
Sharing
Store
Sub
Wait
Xor
Trait Implementations§
source§impl Clone for ReservedKeyword
impl Clone for ReservedKeyword
source§fn clone(&self) -> ReservedKeyword
fn clone(&self) -> ReservedKeyword
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 ReservedKeyword
impl Debug for ReservedKeyword
source§impl Display for ReservedKeyword
impl Display for ReservedKeyword
source§impl FromStr for ReservedKeyword
impl FromStr for ReservedKeyword
source§impl PartialEq<ReservedKeyword> for ReservedKeyword
impl PartialEq<ReservedKeyword> for ReservedKeyword
source§fn eq(&self, other: &ReservedKeyword) -> bool
fn eq(&self, other: &ReservedKeyword) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for ReservedKeyword
impl TryFrom<&str> for ReservedKeyword
impl Eq for ReservedKeyword
impl StructuralEq for ReservedKeyword
impl StructuralPartialEq for ReservedKeyword
Auto Trait Implementations§
impl RefUnwindSafe for ReservedKeyword
impl Send for ReservedKeyword
impl Sync for ReservedKeyword
impl Unpin for ReservedKeyword
impl UnwindSafe for ReservedKeyword
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.