pub enum AtomicKind<D: Dialect> {
I32,
I64,
U32,
U64,
F16,
BF16,
F32,
F64,
_Dialect(PhantomData<D>),
}
Variants§
I32
I64
U32
U64
F16
BF16
F32
F64
_Dialect(PhantomData<D>)
Required to construct the inner Elem
of the atomic value
Trait Implementations§
Source§impl<D: Clone + Dialect> Clone for AtomicKind<D>
impl<D: Clone + Dialect> Clone for AtomicKind<D>
Source§fn clone(&self) -> AtomicKind<D>
fn clone(&self) -> AtomicKind<D>
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<D: Dialect> Display for AtomicKind<D>
impl<D: Dialect> Display for AtomicKind<D>
impl<D: Copy + Dialect> Copy for AtomicKind<D>
impl<D: Eq + Dialect> Eq for AtomicKind<D>
impl<D: Dialect> StructuralPartialEq for AtomicKind<D>
Auto Trait Implementations§
impl<D> Freeze for AtomicKind<D>
impl<D> RefUnwindSafe for AtomicKind<D>where
D: RefUnwindSafe,
impl<D> Send for AtomicKind<D>
impl<D> Sync for AtomicKind<D>
impl<D> Unpin for AtomicKind<D>where
D: Unpin,
impl<D> UnwindSafe for AtomicKind<D>where
D: UnwindSafe,
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