[][src]Struct sdl2_sys::XGCValues

#[repr(C)]
pub struct XGCValues { pub function: c_int, pub plane_mask: c_ulong, pub foreground: c_ulong, pub background: c_ulong, pub line_width: c_int, pub line_style: c_int, pub cap_style: c_int, pub join_style: c_int, pub fill_style: c_int, pub fill_rule: c_int, pub arc_mode: c_int, pub tile: Pixmap, pub stipple: Pixmap, pub ts_x_origin: c_int, pub ts_y_origin: c_int, pub font: Font, pub subwindow_mode: c_int, pub graphics_exposures: c_int, pub clip_x_origin: c_int, pub clip_y_origin: c_int, pub clip_mask: Pixmap, pub dash_offset: c_int, pub dashes: c_char, }

Fields

function: c_intplane_mask: c_ulongforeground: c_ulongbackground: c_ulongline_width: c_intline_style: c_intcap_style: c_intjoin_style: c_intfill_style: c_intfill_rule: c_intarc_mode: c_inttile: Pixmapstipple: Pixmapts_x_origin: c_intts_y_origin: c_intfont: Fontsubwindow_mode: c_intgraphics_exposures: c_intclip_x_origin: c_intclip_y_origin: c_intclip_mask: Pixmapdash_offset: c_intdashes: c_char

Trait Implementations

impl Copy for XGCValues[src]

impl Clone for XGCValues[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for XGCValues

impl Sync for XGCValues

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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