Struct dioxus_tui::RinkInputHandler
source · [−]pub struct RinkInputHandler { /* private fields */ }Implementations
sourceimpl RinkInputHandler
impl RinkInputHandler
sourcepub fn new(
receiver: UnboundedReceiver<TermEvent>,
cx: &ScopeState
) -> (Self, Rc<RefCell<InnerInputState>>)
pub fn new(
receiver: UnboundedReceiver<TermEvent>,
cx: &ScopeState
) -> (Self, Rc<RefCell<InnerInputState>>)
global context that handles events limitations: GUI key modifier is never detected, key up events are not detected, and only two mouse buttons may be pressed at once
pub fn get_events<'a>(
&self,
dom: &'a VirtualDom,
layout: &Stretch,
layouts: &mut HashMap<ElementId, TuiNode<'a>>,
node: &'a VNode<'a>
) -> Vec<UserEvent>
Auto Trait Implementations
impl !RefUnwindSafe for RinkInputHandler
impl !Send for RinkInputHandler
impl !Sync for RinkInputHandler
impl Unpin for RinkInputHandler
impl !UnwindSafe for RinkInputHandler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more