pub struct CriticalSectionSpinLockMutex<T> { /* private fields */ }
Expand description
A spinlock and critical section section based mutex.
Implementations§
§impl<T> CriticalSectionSpinLockMutex<T>
impl<T> CriticalSectionSpinLockMutex<T>
pub const fn new(data: T) -> CriticalSectionSpinLockMutex<T>
pub const fn new(data: T) -> CriticalSectionSpinLockMutex<T>
Create a new mutex
Trait Implementations§
§impl<T> Default for CriticalSectionSpinLockMutex<T>where
T: Default,
impl<T> Default for CriticalSectionSpinLockMutex<T>where T: Default,
§fn default() -> CriticalSectionSpinLockMutex<T>
fn default() -> CriticalSectionSpinLockMutex<T>
Returns the “default value” for a type. Read more