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