Struct gdk::EventExpose
[−]
[src]
pub struct EventExpose(_);
Methods
impl EventExpose
[src]
Methods from Deref<Target = Event>
pub fn get_event_type(&self) -> EventType
[src]
Returns the event type.
pub fn get_window(&self) -> Option<Window>
[src]
Returns the associated Window
if applicable.
pub fn get_send_event(&self) -> bool
[src]
Returns whether the event was sent explicitly.
pub fn is<T: FromEvent>(&self) -> bool
[src]
Returns true
if the event type matches T
.
Trait Implementations
impl Clone for EventExpose
[src]
fn clone(&self) -> EventExpose
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for EventExpose
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> ToGlibPtr<'a, *const GdkEventExpose> for EventExpose
[src]
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GdkEventExpose, Self>
[src]
Transfer: none. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
Transfer: container. Read more
fn to_glib_full(&self) -> P
[src]
Transfer: full. Read more
impl<'a> ToGlibPtrMut<'a, *mut GdkEventExpose> for EventExpose
[src]
type Storage = &'a mut Self
fn to_glib_none_mut(&'a mut self) -> StashMut<'a, *mut GdkEventExpose, Self>
[src]
Transfer: none. Read more
impl FromGlibPtrNone<*mut GdkEventExpose> for EventExpose
[src]
unsafe fn from_glib_none(ptr: *mut GdkEventExpose) -> Self
[src]
impl FromGlibPtrBorrow<*mut GdkEventExpose> for EventExpose
[src]
unsafe fn from_glib_borrow(ptr: *mut GdkEventExpose) -> Self
[src]
impl FromGlibPtrFull<*mut GdkEventExpose> for EventExpose
[src]
unsafe fn from_glib_full(ptr: *mut GdkEventExpose) -> Self
[src]
impl AsRef<GdkEventExpose> for EventExpose
[src]
fn as_ref(&self) -> &GdkEventExpose
[src]
Performs the conversion.
impl AsMut<GdkEventExpose> for EventExpose
[src]
fn as_mut(&mut self) -> &mut GdkEventExpose
[src]
Performs the conversion.
impl Deref for EventExpose
[src]
type Target = Event
The resulting type after dereferencing.
fn deref(&self) -> &Event
[src]
Dereferences the value.