pub struct NotifyEvent { /* private fields */ }Expand description
The NotifyEvent event.
Implementations§
Source§impl NotifyEvent
impl NotifyEvent
pub fn new( event_base: u8, level: ReportLevel, drawable: Drawable, damage: Damage, timestamp: Timestamp, area: Rectangle, geometry: Rectangle, ) -> NotifyEvent
pub fn response_type(&self) -> u8
pub fn sequence(&self) -> u16
pub fn damage(&self) -> Damage
pub fn timestamp(&self) -> Timestamp
pub fn area(&self) -> Rectangle
pub fn geometry(&self) -> Rectangle
Source§impl NotifyEvent
impl NotifyEvent
Sourcepub fn more(&self) -> bool
pub fn more(&self) -> bool
Returns true when the server indicates that more
NotifyEvents belonging to the same logical notification
follow this one (bit 7 of the level byte is set).
Sourcepub fn level(&self) -> ReportLevel
pub fn level(&self) -> ReportLevel
Return the ReportLevel of the event.
Only the lower 7 bits are considered, the 8th bit is a continuation flag.
Trait Implementations§
Source§impl BaseEvent for NotifyEvent
impl BaseEvent for NotifyEvent
Source§impl Debug for NotifyEvent
impl Debug for NotifyEvent
Source§impl Drop for NotifyEvent
impl Drop for NotifyEvent
Source§impl Raw<xcb_generic_event_t> for NotifyEvent
impl Raw<xcb_generic_event_t> for NotifyEvent
impl Send for NotifyEvent
impl Sync for NotifyEvent
Auto Trait Implementations§
impl Freeze for NotifyEvent
impl RefUnwindSafe for NotifyEvent
impl Unpin for NotifyEvent
impl UnwindSafe for NotifyEvent
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