pub struct ExposeEvent { /* fields omitted */ }
Expand description
The exposed (damaged) window.
The X coordinate of the left-upper corner of the exposed rectangle, relative to
the window
’s origin.
The Y coordinate of the left-upper corner of the exposed rectangle, relative to
the window
’s origin.
The width of the exposed rectangle.
The height of the exposed rectangle.
The amount of Expose
events following this one. Simple applications that do
not want to optimize redisplay by distinguishing between subareas of its window
can just ignore all Expose events with nonzero counts and perform full
redisplays on events with zero counts.
The extension associated to this event, or None
for the main protocol
The number associated to this event
Convert the event into a raw pointer Read more
Obtain the event as a raw pointer
Access to the raw event data
Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more
type to external context necessary to compute the length
Compute the length of serialized data of an instance starting by ptr
. Read more
Compute the length of wired serialized data of self
Serialize self
over the X wire and returns how many bytes were written. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.