pub enum AtomicFunction {
Add,
Subtract,
And,
ExclusiveOr,
InclusiveOr,
Min,
Max,
Exchange {
compare: Option<Handle<Expression>>,
},
}Expand description
An atomic operation.
Variants§
Add
Subtract
And
ExclusiveOr
InclusiveOr
Min
Max
Exchange
Fields
§
compare: Option<Handle<Expression>>Trait Implementations§
Source§impl Clone for AtomicFunction
impl Clone for AtomicFunction
Source§fn clone(&self) -> AtomicFunction
fn clone(&self) -> AtomicFunction
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 AtomicFunction
Source§impl Debug for AtomicFunction
impl Debug for AtomicFunction
Source§impl Display for AtomicFunction
impl Display for AtomicFunction
impl Eq for AtomicFunction
Source§impl Hash for AtomicFunction
impl Hash for AtomicFunction
Source§impl PartialEq for AtomicFunction
impl PartialEq for AtomicFunction
impl StructuralPartialEq for AtomicFunction
Auto Trait Implementations§
impl Freeze for AtomicFunction
impl RefUnwindSafe for AtomicFunction
impl Send for AtomicFunction
impl Sync for AtomicFunction
impl Unpin for AtomicFunction
impl UnsafeUnpin for AtomicFunction
impl UnwindSafe for AtomicFunction
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