pub struct CriticalSectionRawMutex { /* private fields */ }Expand description
A mutex that allows borrowing data across executors and interrupts.
§Safety
This mutex is safe to share between different executors and interrupts.
Implementations§
Trait Implementations§
Source§impl Clone for CriticalSectionRawMutex
impl Clone for CriticalSectionRawMutex
Source§fn clone(&self) -> CriticalSectionRawMutex
fn clone(&self) -> CriticalSectionRawMutex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CriticalSectionRawMutex
Source§impl Debug for CriticalSectionRawMutex
impl Debug for CriticalSectionRawMutex
Source§impl RawMutex for CriticalSectionRawMutex
impl RawMutex for CriticalSectionRawMutex
impl Send for CriticalSectionRawMutex
impl Sync for CriticalSectionRawMutex
Auto Trait Implementations§
impl Freeze for CriticalSectionRawMutex
impl RefUnwindSafe for CriticalSectionRawMutex
impl Unpin for CriticalSectionRawMutex
impl UnsafeUnpin for CriticalSectionRawMutex
impl UnwindSafe for CriticalSectionRawMutex
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