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