pub struct AtomicWideCounterBindgenTy1 { /* private fields */ }
Implementations§
Source§impl AtomicWideCounterBindgenTy1
impl AtomicWideCounterBindgenTy1
Sourcepub fn new_zeroed_on_heap() -> Self
pub fn new_zeroed_on_heap() -> Self
creates zeroed struct where the underlying c struct is on the heap
Sourcepub fn new_zeroed_on_stack() -> Self
pub fn new_zeroed_on_stack() -> Self
creates zeroed struct where the underlying c struct is on the stack (Use with care)
pub fn get_inner(&self) -> *mut __atomic_wide_counter__bindgen_ty_1
pub fn get_inner_mut(&self) -> &mut __atomic_wide_counter__bindgen_ty_1
pub fn get_inner_ref(&self) -> &__atomic_wide_counter__bindgen_ty_1
Trait Implementations§
Source§impl Clone for AtomicWideCounterBindgenTy1
impl Clone for AtomicWideCounterBindgenTy1
Source§fn clone(&self) -> AtomicWideCounterBindgenTy1
fn clone(&self) -> AtomicWideCounterBindgenTy1
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 Debug for AtomicWideCounterBindgenTy1
impl Debug for AtomicWideCounterBindgenTy1
Source§impl Deref for AtomicWideCounterBindgenTy1
impl Deref for AtomicWideCounterBindgenTy1
Source§impl From<&AtomicWideCounterBindgenTy1> for *mut __atomic_wide_counter__bindgen_ty_1
impl From<&AtomicWideCounterBindgenTy1> for *mut __atomic_wide_counter__bindgen_ty_1
Source§fn from(value: &AtomicWideCounterBindgenTy1) -> Self
fn from(value: &AtomicWideCounterBindgenTy1) -> Self
Converts to this type from the input type.
Source§impl From<*const __atomic_wide_counter__bindgen_ty_1> for AtomicWideCounterBindgenTy1
impl From<*const __atomic_wide_counter__bindgen_ty_1> for AtomicWideCounterBindgenTy1
Source§fn from(value: *const __atomic_wide_counter__bindgen_ty_1) -> Self
fn from(value: *const __atomic_wide_counter__bindgen_ty_1) -> Self
Converts to this type from the input type.
Source§impl From<*mut __atomic_wide_counter__bindgen_ty_1> for AtomicWideCounterBindgenTy1
impl From<*mut __atomic_wide_counter__bindgen_ty_1> for AtomicWideCounterBindgenTy1
Source§fn from(value: *mut __atomic_wide_counter__bindgen_ty_1) -> Self
fn from(value: *mut __atomic_wide_counter__bindgen_ty_1) -> Self
Converts to this type from the input type.
Source§impl From<AtomicWideCounterBindgenTy1> for *mut __atomic_wide_counter__bindgen_ty_1
impl From<AtomicWideCounterBindgenTy1> for *mut __atomic_wide_counter__bindgen_ty_1
Source§fn from(value: AtomicWideCounterBindgenTy1) -> Self
fn from(value: AtomicWideCounterBindgenTy1) -> Self
Converts to this type from the input type.
Source§impl From<AtomicWideCounterBindgenTy1> for __atomic_wide_counter__bindgen_ty_1
impl From<AtomicWideCounterBindgenTy1> for __atomic_wide_counter__bindgen_ty_1
Source§fn from(value: AtomicWideCounterBindgenTy1) -> Self
fn from(value: AtomicWideCounterBindgenTy1) -> Self
Converts to this type from the input type.
Source§impl From<__atomic_wide_counter__bindgen_ty_1> for AtomicWideCounterBindgenTy1
impl From<__atomic_wide_counter__bindgen_ty_1> for AtomicWideCounterBindgenTy1
Source§fn from(value: __atomic_wide_counter__bindgen_ty_1) -> Self
fn from(value: __atomic_wide_counter__bindgen_ty_1) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AtomicWideCounterBindgenTy1
impl !RefUnwindSafe for AtomicWideCounterBindgenTy1
impl !Send for AtomicWideCounterBindgenTy1
impl !Sync for AtomicWideCounterBindgenTy1
impl Unpin for AtomicWideCounterBindgenTy1
impl !UnwindSafe for AtomicWideCounterBindgenTy1
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