pub struct SharedCell<T> { /* private fields */ }
Expand description
A cell that can be safely be shared across thread boundaries and interrupt contexts
Implementations§
Sourcepub fn lazy_scope<F, FR>(&self, scope: F) -> FR
pub fn lazy_scope<F, FR>(&self, scope: F) -> FR
Provides scoped access to the underlying lazy cell
§Panic
This function will panic if called from another thread or interrupt context
Trait Implementations§
Auto Trait Implementations§
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