Enum quil_rs::program::graph::MemoryAccessType
source · pub enum MemoryAccessType {
Read,
Write,
Capture,
}Expand description
Express a mode of memory access.
Variants§
Read
Read from a memory location
Write
Write to a memory location using classical instructions
Capture
Write to a memory location using readout (CAPTURE and RAW-CAPTURE instructions)
Trait Implementations§
source§impl Clone for MemoryAccessType
impl Clone for MemoryAccessType
source§fn clone(&self) -> MemoryAccessType
fn clone(&self) -> MemoryAccessType
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 MemoryAccessType
impl Debug for MemoryAccessType
source§impl Hash for MemoryAccessType
impl Hash for MemoryAccessType
source§impl PartialEq<MemoryAccessType> for MemoryAccessType
impl PartialEq<MemoryAccessType> for MemoryAccessType
source§fn eq(&self, other: &MemoryAccessType) -> bool
fn eq(&self, other: &MemoryAccessType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for MemoryAccessType
impl StructuralEq for MemoryAccessType
impl StructuralPartialEq for MemoryAccessType
Auto Trait Implementations§
impl RefUnwindSafe for MemoryAccessType
impl Send for MemoryAccessType
impl Sync for MemoryAccessType
impl Unpin for MemoryAccessType
impl UnwindSafe for MemoryAccessType
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.