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