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_intserial: c_ulongsend_event: c_intdisplay: *mut Displayparent: Windowwindow: Windowx: c_inty: c_intwidth: c_intheight: c_intborder_width: c_intoverride_redirect: c_intTrait Implementations
sourceimpl Clone for XCreateWindowEvent
impl Clone for XCreateWindowEvent
sourcefn clone(&self) -> XCreateWindowEvent
fn clone(&self) -> XCreateWindowEvent
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 XCreateWindowEvent
Auto Trait Implementations
impl RefUnwindSafe for XCreateWindowEvent
impl !Send for XCreateWindowEvent
impl !Sync for XCreateWindowEvent
impl Unpin for XCreateWindowEvent
impl UnwindSafe for XCreateWindowEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more