pub struct RoutedEventContext {
pub window_id: CompositorWindowId,
pub kind: RoutedEventKind,
pub target: Option<SurfaceTarget>,
pub active_target: Option<SurfaceTarget>,
}Expand description
Context describing one compositor-routed input event.
Fields§
§window_id: CompositorWindowId§kind: RoutedEventKind§target: Option<SurfaceTarget>§active_target: Option<SurfaceTarget>Trait Implementations§
Source§impl Clone for RoutedEventContext
impl Clone for RoutedEventContext
Source§fn clone(&self) -> RoutedEventContext
fn clone(&self) -> RoutedEventContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RoutedEventContext
impl Debug for RoutedEventContext
Source§impl PartialEq for RoutedEventContext
impl PartialEq for RoutedEventContext
impl Copy for RoutedEventContext
impl Eq for RoutedEventContext
impl StructuralPartialEq for RoutedEventContext
Auto Trait Implementations§
impl Freeze for RoutedEventContext
impl RefUnwindSafe for RoutedEventContext
impl Send for RoutedEventContext
impl Sync for RoutedEventContext
impl Unpin for RoutedEventContext
impl UnsafeUnpin for RoutedEventContext
impl UnwindSafe for RoutedEventContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.