pub struct CommandSender { /* private fields */ }Expand description
Cloneable handle for sending commands into the bus.
Input sources (keyboard handler, mouse handler, future REST API, etc.)
each hold a CommandSender and dispatch commands independently.
Implementations§
Trait Implementations§
Source§impl Clone for CommandSender
impl Clone for CommandSender
Source§fn clone(&self) -> CommandSender
fn clone(&self) -> CommandSender
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 Freeze for CommandSender
impl RefUnwindSafe for CommandSender
impl Send for CommandSender
impl Sync for CommandSender
impl Unpin for CommandSender
impl UnsafeUnpin for CommandSender
impl UnwindSafe for CommandSender
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