pub struct AdditionalMutexData {
pub kind: MutexKind,
pub address: u64,
}
Expand description
Additional data that we attach with each mutex instance.
Fields§
§kind: MutexKind
The mutex kind, used by some mutex implementations like pthreads mutexes.
address: u64
The address of the mutex.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdditionalMutexData
impl RefUnwindSafe for AdditionalMutexData
impl Send for AdditionalMutexData
impl Sync for AdditionalMutexData
impl Unpin for AdditionalMutexData
impl UnwindSafe for AdditionalMutexData
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes