Struct flipper0::ffi::ValueMutex
source · Expand description
== ValueMutex ==
The most simple concept is ValueMutex. It is wrapper around mutex and value pointer. You can take and give mutex to work with value and read and write value.
Fields
value: *mut c_void
size: usize
mutex: *mut c_void
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ValueMutex
impl !Send for ValueMutex
impl !Sync for ValueMutex
impl Unpin for ValueMutex
impl UnwindSafe for ValueMutex
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