Struct sdl2_sys::XCreateWindowEvent
source · #[repr(C)]pub struct XCreateWindowEvent {
pub type_: c_int,
pub serial: c_ulong,
pub send_event: c_int,
pub display: *mut Display,
pub parent: Window,
pub window: Window,
pub x: c_int,
pub y: c_int,
pub width: c_int,
pub height: c_int,
pub border_width: c_int,
pub override_redirect: c_int,
}
Fields§
§type_: c_int
§serial: c_ulong
§send_event: c_int
§display: *mut Display
§parent: Window
§window: Window
§x: c_int
§y: c_int
§width: c_int
§height: c_int
§border_width: c_int
§override_redirect: c_int
Trait Implementations§
source§impl Clone for XCreateWindowEvent
impl Clone for XCreateWindowEvent
source§fn clone(&self) -> XCreateWindowEvent
fn clone(&self) -> XCreateWindowEvent
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 XCreateWindowEvent
Auto Trait Implementations§
impl Freeze for XCreateWindowEvent
impl RefUnwindSafe for XCreateWindowEvent
impl !Send for XCreateWindowEvent
impl !Sync for XCreateWindowEvent
impl Unpin for XCreateWindowEvent
impl UnwindSafe for XCreateWindowEvent
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