pub struct NativeEventView<'a> {
pub role: u32,
pub mode: u32,
pub context: u32,
pub units: &'a [u16],
}Expand description
Read-only bounded wire event. The engine remains responsible for tag validation.
Fields§
§role: u32Physical input role using the C ABI tags.
mode: u32Observed input mode, including zero for an unmapped native layout.
context: u32Native eligibility context using the C ABI tags.
units: &'a [u16]Copied physical text in UTF-16 units.
Auto Trait Implementations§
impl<'a> Freeze for NativeEventView<'a>
impl<'a> RefUnwindSafe for NativeEventView<'a>
impl<'a> Send for NativeEventView<'a>
impl<'a> Sync for NativeEventView<'a>
impl<'a> Unpin for NativeEventView<'a>
impl<'a> UnsafeUnpin for NativeEventView<'a>
impl<'a> UnwindSafe for NativeEventView<'a>
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