Struct xcb::present::GenericEvent
source · pub struct GenericEvent { /* private fields */ }
Expand description
The GenericEvent
event.
Implementations§
source§impl GenericEvent
impl GenericEvent
pub fn new( event_base: u8, extension: u8, length: u32, evtype: u16, event: EventXid, ) -> GenericEvent
pub fn response_type(&self) -> u8
pub fn extension(&self) -> u8
pub fn sequence(&self) -> u16
pub fn length(&self) -> u32
pub fn evtype(&self) -> u16
pub fn event(&self) -> EventXid
Trait Implementations§
source§impl BaseEvent for GenericEvent
impl BaseEvent for GenericEvent
source§impl Debug for GenericEvent
impl Debug for GenericEvent
source§impl Drop for GenericEvent
impl Drop for GenericEvent
source§impl Raw<xcb_generic_event_t> for GenericEvent
impl Raw<xcb_generic_event_t> for GenericEvent
impl Send for GenericEvent
impl Sync for GenericEvent
Auto Trait Implementations§
impl Freeze for GenericEvent
impl RefUnwindSafe for GenericEvent
impl Unpin for GenericEvent
impl UnwindSafe for GenericEvent
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