Struct sdl2_sys::XWindowAttributes
source · [−]#[repr(C)]pub struct XWindowAttributes {Show 23 fields
pub x: c_int,
pub y: c_int,
pub width: c_int,
pub height: c_int,
pub border_width: c_int,
pub depth: c_int,
pub visual: *mut Visual,
pub root: Window,
pub class: c_int,
pub bit_gravity: c_int,
pub win_gravity: c_int,
pub backing_store: c_int,
pub backing_planes: c_ulong,
pub backing_pixel: c_ulong,
pub save_under: c_int,
pub colormap: Colormap,
pub map_installed: c_int,
pub map_state: c_int,
pub all_event_masks: c_long,
pub your_event_mask: c_long,
pub do_not_propagate_mask: c_long,
pub override_redirect: c_int,
pub screen: *mut Screen,
}Fields
x: c_inty: c_intwidth: c_intheight: c_intborder_width: c_intdepth: c_intvisual: *mut Visualroot: Windowclass: c_intbit_gravity: c_intwin_gravity: c_intbacking_store: c_intbacking_planes: c_ulongbacking_pixel: c_ulongsave_under: c_intcolormap: Colormapmap_installed: c_intmap_state: c_intall_event_masks: c_longyour_event_mask: c_longdo_not_propagate_mask: c_longoverride_redirect: c_intscreen: *mut ScreenTrait Implementations
sourceimpl Clone for XWindowAttributes
impl Clone for XWindowAttributes
sourcefn clone(&self) -> XWindowAttributes
fn clone(&self) -> XWindowAttributes
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 XWindowAttributes
Auto Trait Implementations
impl RefUnwindSafe for XWindowAttributes
impl !Send for XWindowAttributes
impl !Sync for XWindowAttributes
impl Unpin for XWindowAttributes
impl UnwindSafe for XWindowAttributes
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