[][src]Struct breadx::auto::randr::ModeFlag

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

Fields

inner: u32

Implementations

impl ModeFlag[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn new(
    hsync_positive: bool,
    hsync_negative: bool,
    vsync_positive: bool,
    vsync_negative: bool,
    interlace: bool,
    double_scan: bool,
    csync: bool,
    csync_positive: bool,
    csync_negative: bool,
    hskew_present: bool,
    bcast: bool,
    pixel_multiplex: bool,
    double_clock: bool,
    halve_clock: bool
) -> Self
[src]

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

Trait Implementations

impl AsByteSequence for ModeFlag[src]

impl BitAnd<ModeFlag> for ModeFlag[src]

type Output = ModeFlag

The resulting type after applying the & operator.

impl Clone for ModeFlag[src]

impl Copy for ModeFlag[src]

impl Debug for ModeFlag[src]

impl Default for ModeFlag[src]

impl Eq for ModeFlag[src]

impl Not for ModeFlag[src]

type Output = ModeFlag

The resulting type after applying the ! operator.

impl Ord for ModeFlag[src]

impl PartialEq<ModeFlag> for ModeFlag[src]

impl PartialOrd<ModeFlag> for ModeFlag[src]

impl StructuralEq for ModeFlag[src]

impl StructuralPartialEq for ModeFlag[src]

Auto Trait Implementations

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.