pub enum AtomicScope {
Workgroup,
Device,
}Variants§
Workgroup
SoftGPU workgroup scope (not a hardware memory-order claim).
Device
SoftGPU device/global arena scope (functional atomic only).
Trait Implementations§
Source§impl Clone for AtomicScope
impl Clone for AtomicScope
Source§fn clone(&self) -> AtomicScope
fn clone(&self) -> AtomicScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AtomicScope
Source§impl Debug for AtomicScope
impl Debug for AtomicScope
Source§impl<'de> Deserialize<'de> for AtomicScope
impl<'de> Deserialize<'de> for AtomicScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AtomicScope
Source§impl PartialEq for AtomicScope
impl PartialEq for AtomicScope
Source§impl Serialize for AtomicScope
impl Serialize for AtomicScope
impl StructuralPartialEq for AtomicScope
Auto Trait Implementations§
impl Freeze for AtomicScope
impl RefUnwindSafe for AtomicScope
impl Send for AtomicScope
impl Sync for AtomicScope
impl Unpin for AtomicScope
impl UnsafeUnpin for AtomicScope
impl UnwindSafe for AtomicScope
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