pub struct TurnLoopToolExec {
pub lock: Arc<RwLock<()>>,
pub tx_event: Sender<Event>,
}Expand description
Cloned handles passed into async move tool tasks.
Fields§
§lock: Arc<RwLock<()>>§tx_event: Sender<Event>Trait Implementations§
Source§impl Clone for TurnLoopToolExec
impl Clone for TurnLoopToolExec
Source§fn clone(&self) -> TurnLoopToolExec
fn clone(&self) -> TurnLoopToolExec
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for TurnLoopToolExec
impl !UnwindSafe for TurnLoopToolExec
impl Freeze for TurnLoopToolExec
impl Send for TurnLoopToolExec
impl Sync for TurnLoopToolExec
impl Unpin for TurnLoopToolExec
impl UnsafeUnpin for TurnLoopToolExec
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