pub struct FakeRawMutex { /* private fields */ }Expand description
A fake mutex that allows borrowing data in local context.
Which means it does not provide any synchronization between threads,
Implementations§
Source§impl FakeRawMutex
impl FakeRawMutex
Trait Implementations§
Source§impl RawMutex for FakeRawMutex
impl RawMutex for FakeRawMutex
impl Send for FakeRawMutex
Auto Trait Implementations§
impl Freeze for FakeRawMutex
impl RefUnwindSafe for FakeRawMutex
impl !Sync for FakeRawMutex
impl Unpin for FakeRawMutex
impl UnwindSafe for FakeRawMutex
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