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
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more