Struct sdl2_sys::XGraphicsExposeEvent
source · #[repr(C)]pub struct XGraphicsExposeEvent {
pub type_: c_int,
pub serial: c_ulong,
pub send_event: c_int,
pub display: *mut Display,
pub drawable: Drawable,
pub x: c_int,
pub y: c_int,
pub width: c_int,
pub height: c_int,
pub count: c_int,
pub major_code: c_int,
pub minor_code: c_int,
}
Fields§
§type_: c_int
§serial: c_ulong
§send_event: c_int
§display: *mut Display
§drawable: Drawable
§x: c_int
§y: c_int
§width: c_int
§height: c_int
§count: c_int
§major_code: c_int
§minor_code: c_int
Trait Implementations§
source§impl Clone for XGraphicsExposeEvent
impl Clone for XGraphicsExposeEvent
source§fn clone(&self) -> XGraphicsExposeEvent
fn clone(&self) -> XGraphicsExposeEvent
Returns a copy 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 moreimpl Copy for XGraphicsExposeEvent
Auto Trait Implementations§
impl Freeze for XGraphicsExposeEvent
impl RefUnwindSafe for XGraphicsExposeEvent
impl !Send for XGraphicsExposeEvent
impl !Sync for XGraphicsExposeEvent
impl Unpin for XGraphicsExposeEvent
impl UnwindSafe for XGraphicsExposeEvent
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