pub struct InputEvent { /* private fields */ }Implementations§
Source§impl InputEvent
impl InputEvent
pub fn is_composing(&self) -> bool
Trait Implementations§
Source§impl AsRef<Event> for InputEvent
impl AsRef<Event> for InputEvent
Source§impl AsRef<InputEvent> for InputEvent
impl AsRef<InputEvent> for InputEvent
Source§fn as_ref(&self) -> &InputEvent
fn as_ref(&self) -> &InputEvent
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<UiEvent> for InputEvent
impl AsRef<UiEvent> for InputEvent
Source§impl Event for InputEvent
impl Event for InputEvent
fn bubbles(&self) -> bool
fn cancelable(&self) -> bool
fn composed(&self) -> bool
fn is_trusted(&self) -> bool
fn default_prevented(&self) -> bool
fn event_phase(&self) -> EventPhase
fn event_type(&self) -> String
fn target(&self) -> Option<GenericEventTarget>
fn current_target(&self) -> Option<GenericEventTarget>
fn composed_path(&self) -> ComposedPath
fn prevent_default(&self)
fn stop_propagation(&self)
fn stop_immediate_propagation(&self)
impl UiEvent for InputEvent
Auto Trait Implementations§
impl Freeze for InputEvent
impl RefUnwindSafe for InputEvent
impl !Send for InputEvent
impl !Sync for InputEvent
impl Unpin for InputEvent
impl UnwindSafe for InputEvent
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