[][src]Struct sdl2_sys::Screen

#[repr(C)]pub struct Screen {
    pub ext_data: *mut XExtData,
    pub display: *mut _XDisplay,
    pub root: Window,
    pub width: c_int,
    pub height: c_int,
    pub mwidth: c_int,
    pub mheight: c_int,
    pub ndepths: c_int,
    pub depths: *mut Depth,
    pub root_depth: c_int,
    pub root_visual: *mut Visual,
    pub default_gc: GC,
    pub cmap: Colormap,
    pub white_pixel: c_ulong,
    pub black_pixel: c_ulong,
    pub max_maps: c_int,
    pub min_maps: c_int,
    pub backing_store: c_int,
    pub save_unders: c_int,
    pub root_input_mask: c_long,
}

Fields

ext_data: *mut XExtDatadisplay: *mut _XDisplayroot: Windowwidth: c_intheight: c_intmwidth: c_intmheight: c_intndepths: c_intdepths: *mut Depthroot_depth: c_introot_visual: *mut Visualdefault_gc: GCcmap: Colormapwhite_pixel: c_ulongblack_pixel: c_ulongmax_maps: c_intmin_maps: c_intbacking_store: c_intsave_unders: c_introot_input_mask: c_long

Trait Implementations

impl Clone for Screen[src]

impl Copy for Screen[src]

Auto Trait Implementations

impl !Send for Screen

impl !Sync for Screen

impl Unpin for Screen

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.