Expand description
struct aws_atomic_var represents an atomic variable - a value which can hold an integer or pointer that can be manipulated atomically. struct aws_atomic_vars should normally only be manipulated with atomics methods defined in this header.
Fields
value: *mut c_void
Trait Implementations
sourceimpl Clone for aws_atomic_var
impl Clone for aws_atomic_var
sourcefn clone(&self) -> aws_atomic_var
fn clone(&self) -> aws_atomic_var
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 moresourceimpl Debug for aws_atomic_var
impl Debug for aws_atomic_var
sourceimpl Default for aws_atomic_var
impl Default for aws_atomic_var
sourceimpl PartialEq<aws_atomic_var> for aws_atomic_var
impl PartialEq<aws_atomic_var> for aws_atomic_var
sourcefn eq(&self, other: &aws_atomic_var) -> bool
fn eq(&self, other: &aws_atomic_var) -> bool
impl Copy for aws_atomic_var
impl Eq for aws_atomic_var
impl StructuralEq for aws_atomic_var
impl StructuralPartialEq for aws_atomic_var
Auto Trait Implementations
impl RefUnwindSafe for aws_atomic_var
impl !Send for aws_atomic_var
impl !Sync for aws_atomic_var
impl Unpin for aws_atomic_var
impl UnwindSafe for aws_atomic_var
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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