[][src]Struct breadx::auto::xproto::Gc

#[repr(transparent)]pub struct Gc {
    pub inner: u32,
}

Fields

inner: u32

Implementations

impl Gc[src]

pub fn function(&self) -> bool[src]

pub fn set_function(&mut self, val: bool) -> &mut Self[src]

pub fn plane_mask(&self) -> bool[src]

pub fn set_plane_mask(&mut self, val: bool) -> &mut Self[src]

pub fn foreground(&self) -> bool[src]

pub fn set_foreground(&mut self, val: bool) -> &mut Self[src]

pub fn background(&self) -> bool[src]

pub fn set_background(&mut self, val: bool) -> &mut Self[src]

pub fn line_width(&self) -> bool[src]

pub fn set_line_width(&mut self, val: bool) -> &mut Self[src]

pub fn line_style(&self) -> bool[src]

pub fn set_line_style(&mut self, val: bool) -> &mut Self[src]

pub fn cap_style(&self) -> bool[src]

pub fn set_cap_style(&mut self, val: bool) -> &mut Self[src]

pub fn join_style(&self) -> bool[src]

pub fn set_join_style(&mut self, val: bool) -> &mut Self[src]

pub fn fill_style(&self) -> bool[src]

pub fn set_fill_style(&mut self, val: bool) -> &mut Self[src]

pub fn fill_rule(&self) -> bool[src]

pub fn set_fill_rule(&mut self, val: bool) -> &mut Self[src]

pub fn tile(&self) -> bool[src]

pub fn set_tile(&mut self, val: bool) -> &mut Self[src]

pub fn stipple(&self) -> bool[src]

pub fn set_stipple(&mut self, val: bool) -> &mut Self[src]

pub fn tile_stipple_origin_x(&self) -> bool[src]

pub fn set_tile_stipple_origin_x(&mut self, val: bool) -> &mut Self[src]

pub fn tile_stipple_origin_y(&self) -> bool[src]

pub fn set_tile_stipple_origin_y(&mut self, val: bool) -> &mut Self[src]

pub fn font(&self) -> bool[src]

pub fn set_font(&mut self, val: bool) -> &mut Self[src]

pub fn subwindow_mode(&self) -> bool[src]

pub fn set_subwindow_mode(&mut self, val: bool) -> &mut Self[src]

pub fn graphics_exposures(&self) -> bool[src]

pub fn set_graphics_exposures(&mut self, val: bool) -> &mut Self[src]

pub fn clip_origin_x(&self) -> bool[src]

pub fn set_clip_origin_x(&mut self, val: bool) -> &mut Self[src]

pub fn clip_origin_y(&self) -> bool[src]

pub fn set_clip_origin_y(&mut self, val: bool) -> &mut Self[src]

pub fn clip_mask(&self) -> bool[src]

pub fn set_clip_mask(&mut self, val: bool) -> &mut Self[src]

pub fn dash_offset(&self) -> bool[src]

pub fn set_dash_offset(&mut self, val: bool) -> &mut Self[src]

pub fn dash_list(&self) -> bool[src]

pub fn set_dash_list(&mut self, val: bool) -> &mut Self[src]

pub fn arc_mode(&self) -> bool[src]

pub fn set_arc_mode(&mut self, val: bool) -> &mut Self[src]

pub fn new(
    function: bool,
    plane_mask: bool,
    foreground: bool,
    background: bool,
    line_width: bool,
    line_style: bool,
    cap_style: bool,
    join_style: bool,
    fill_style: bool,
    fill_rule: bool,
    tile: bool,
    stipple: bool,
    tile_stipple_origin_x: bool,
    tile_stipple_origin_y: bool,
    font: bool,
    subwindow_mode: bool,
    graphics_exposures: bool,
    clip_origin_x: bool,
    clip_origin_y: bool,
    clip_mask: bool,
    dash_offset: bool,
    dash_list: bool,
    arc_mode: bool
) -> Self
[src]

pub fn count_ones(&self) -> usize[src]

Trait Implementations

impl AsByteSequence for Gc[src]

impl BitAnd<Gc> for Gc[src]

type Output = Gc

The resulting type after applying the & operator.

impl Clone for Gc[src]

impl Copy for Gc[src]

impl Debug for Gc[src]

impl Default for Gc[src]

impl Eq for Gc[src]

impl Not for Gc[src]

type Output = Gc

The resulting type after applying the ! operator.

impl Ord for Gc[src]

impl PartialEq<Gc> for Gc[src]

impl PartialOrd<Gc> for Gc[src]

impl StructuralEq for Gc[src]

impl StructuralPartialEq for Gc[src]

Auto Trait Implementations

impl RefUnwindSafe for Gc[src]

impl Send for Gc[src]

impl Sync for Gc[src]

impl Unpin for Gc[src]

impl UnwindSafe for Gc[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.