pub struct MappingEvent { /* private fields */ }Implementations§
Source§impl MappingEvent
impl MappingEvent
pub fn request(&self) -> c_int
pub fn first_keycode(&self) -> c_int
pub fn count(&self) -> i32
pub fn new( kind: EventType, serial: c_ulong, display: &dyn GenericDisplay, sender_window: &Window, fse: bool, request: c_int, first_keycode: c_int, count: i32, ) -> Result<Self, FlutterbugError>
Trait Implementations§
Source§impl Clone for MappingEvent
impl Clone for MappingEvent
Source§fn clone(&self) -> MappingEvent
fn clone(&self) -> MappingEvent
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 MappingEvent
impl Debug for MappingEvent
Source§impl DerivesAnEvent for MappingEvent
impl DerivesAnEvent for MappingEvent
Source§impl DerivesEvent<XMappingEvent> for MappingEvent
impl DerivesEvent<XMappingEvent> for MappingEvent
Source§fn from_evstruct(ev: XMappingEvent) -> Result<Self, FlutterbugError>
fn from_evstruct(ev: XMappingEvent) -> Result<Self, FlutterbugError>
Derive this item from the native struct.
Source§fn inner(&self) -> Result<XMappingEvent, FlutterbugError>
fn inner(&self) -> Result<XMappingEvent, FlutterbugError>
Get the raw inner event.
Auto Trait Implementations§
impl Freeze for MappingEvent
impl RefUnwindSafe for MappingEvent
impl !Send for MappingEvent
impl !Sync for MappingEvent
impl Unpin for MappingEvent
impl UnwindSafe for MappingEvent
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