pub struct MemorySemantics {Show 14 fields
pub acquire: bool,
pub release: bool,
pub acquire_release: bool,
pub sequentially_consistent: bool,
pub uniform_memory: bool,
pub subgroup_memory: bool,
pub workgroup_memory: bool,
pub cross_workgroup_memory: bool,
pub atomic_counter_memory: bool,
pub image_memory: bool,
pub output_memory: bool,
pub make_available: bool,
pub make_visible: bool,
pub volatile: bool,
}
Fields
acquire: bool
release: bool
acquire_release: bool
sequentially_consistent: bool
uniform_memory: bool
subgroup_memory: bool
workgroup_memory: bool
cross_workgroup_memory: bool
atomic_counter_memory: bool
image_memory: bool
output_memory: bool
make_available: bool
make_visible: bool
volatile: bool
Trait Implementations
sourceimpl Clone for MemorySemantics
impl Clone for MemorySemantics
sourcefn clone(&self) -> MemorySemantics
fn clone(&self) -> MemorySemantics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MemorySemantics
impl Debug for MemorySemantics
sourceimpl PartialEq<MemorySemantics> for MemorySemantics
impl PartialEq<MemorySemantics> for MemorySemantics
sourcefn eq(&self, other: &MemorySemantics) -> bool
fn eq(&self, other: &MemorySemantics) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MemorySemantics) -> bool
fn ne(&self, other: &MemorySemantics) -> bool
This method tests for !=
.
impl StructuralPartialEq for MemorySemantics
Auto Trait Implementations
impl RefUnwindSafe for MemorySemantics
impl Send for MemorySemantics
impl Sync for MemorySemantics
impl Unpin for MemorySemantics
impl UnwindSafe for MemorySemantics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more