pub struct InputCollector<C>where
C: EventHandling,{ /* private fields */ }
Expand description
InputCollector
manages plugging-in and out input devices.
Implementations§
Source§impl<C> InputCollector<C>where
C: EventHandling,
impl<C> InputCollector<C>where
C: EventHandling,
Sourcepub fn new(
coordinator: C,
input_handler: Box<dyn InputHandling>,
input_forwarder: Box<dyn InputForwarding>,
input_config: InputConfig,
vt: Option<VirtualTerminal>,
restricted_opener: Rc<RefCell<RestrictedOpener>>,
) -> Self
pub fn new( coordinator: C, input_handler: Box<dyn InputHandling>, input_forwarder: Box<dyn InputForwarding>, input_config: InputConfig, vt: Option<VirtualTerminal>, restricted_opener: Rc<RefCell<RestrictedOpener>>, ) -> Self
Constructs new InputCollector
.
Auto Trait Implementations§
impl<C> Freeze for InputCollector<C>where
C: Freeze,
impl<C> !RefUnwindSafe for InputCollector<C>
impl<C> !Send for InputCollector<C>
impl<C> !Sync for InputCollector<C>
impl<C> Unpin for InputCollector<C>where
C: Unpin,
impl<C> !UnwindSafe for InputCollector<C>
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