pub struct MTShared<'a, M> { /* private fields */ }Expand description
Shared variable among tasks
Implementations§
Sourcepub fn ch<'s>(&'s self) -> MTSharedCh<'a, 's, M>
pub fn ch<'s>(&'s self) -> MTSharedCh<'a, 's, M>
Gets a shared variable access channel.
- Returns the shared access channel.
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