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
sourceimpl Clone for XGraphicsExposeEvent
impl Clone for XGraphicsExposeEvent
sourcefn clone(&self) -> XGraphicsExposeEvent
fn clone(&self) -> XGraphicsExposeEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for XGraphicsExposeEvent
Auto Trait Implementations
impl RefUnwindSafe for XGraphicsExposeEvent
impl !Send for XGraphicsExposeEvent
impl !Sync for XGraphicsExposeEvent
impl Unpin for XGraphicsExposeEvent
impl UnwindSafe for XGraphicsExposeEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more