[][src]Struct breadx::auto::render::Cp

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

Fields

inner: u32

Implementations

impl Cp[src]

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

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

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

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

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

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

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

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

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

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

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

pub fn set_clip_y_origin(&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 graphics_exposure(&self) -> bool[src]

pub fn set_graphics_exposure(&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 poly_edge(&self) -> bool[src]

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

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

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

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

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

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

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

pub fn new(
    repeat: bool,
    alpha_map: bool,
    alpha_x_origin: bool,
    alpha_y_origin: bool,
    clip_x_origin: bool,
    clip_y_origin: bool,
    clip_mask: bool,
    graphics_exposure: bool,
    subwindow_mode: bool,
    poly_edge: bool,
    poly_mode: bool,
    dither: bool,
    component_alpha: bool
) -> Self
[src]

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

Trait Implementations

impl AsByteSequence for Cp[src]

impl BitAnd<Cp> for Cp[src]

type Output = Cp

The resulting type after applying the & operator.

impl Clone for Cp[src]

impl Copy for Cp[src]

impl Debug for Cp[src]

impl Default for Cp[src]

impl Eq for Cp[src]

impl Not for Cp[src]

type Output = Cp

The resulting type after applying the ! operator.

impl Ord for Cp[src]

impl PartialEq<Cp> for Cp[src]

impl PartialOrd<Cp> for Cp[src]

impl StructuralEq for Cp[src]

impl StructuralPartialEq for Cp[src]

Auto Trait Implementations

impl RefUnwindSafe for Cp[src]

impl Send for Cp[src]

impl Sync for Cp[src]

impl Unpin for Cp[src]

impl UnwindSafe for Cp[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.