[][src]Struct breadx::auto::present::EventMask

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

Fields

inner: u32

Implementations

impl EventMask[src]

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

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

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

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

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

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

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

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

pub fn new(
    configure_notify: bool,
    complete_notify: bool,
    idle_notify: bool,
    redirect_notify: bool
) -> Self
[src]

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

Trait Implementations

impl AsByteSequence for EventMask[src]

impl BitAnd<EventMask> for EventMask[src]

type Output = EventMask

The resulting type after applying the & operator.

impl Clone for EventMask[src]

impl Copy for EventMask[src]

impl Debug for EventMask[src]

impl Default for EventMask[src]

impl Eq for EventMask[src]

impl Not for EventMask[src]

type Output = EventMask

The resulting type after applying the ! operator.

impl Ord for EventMask[src]

impl PartialEq<EventMask> for EventMask[src]

impl PartialOrd<EventMask> for EventMask[src]

impl StructuralEq for EventMask[src]

impl StructuralPartialEq for EventMask[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.