Struct quil_rs::instruction::GateDefinition
source · pub struct GateDefinition {
pub name: String,
pub parameters: Vec<String>,
pub specification: GateSpecification,
}
Fields§
§name: String
§parameters: Vec<String>
§specification: GateSpecification
Trait Implementations§
source§impl Clone for GateDefinition
impl Clone for GateDefinition
source§fn clone(&self) -> GateDefinition
fn clone(&self) -> GateDefinition
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 GateDefinition
impl Debug for GateDefinition
source§impl PartialEq<GateDefinition> for GateDefinition
impl PartialEq<GateDefinition> for GateDefinition
source§fn eq(&self, other: &GateDefinition) -> bool
fn eq(&self, other: &GateDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GateDefinition
impl StructuralEq for GateDefinition
impl StructuralPartialEq for GateDefinition
Auto Trait Implementations§
impl RefUnwindSafe for GateDefinition
impl Send for GateDefinition
impl Sync for GateDefinition
impl Unpin for GateDefinition
impl UnwindSafe for GateDefinition
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.