Struct breadx::auto::present::EventMask [−][src]
Fields
inner: u32Implementations
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]
configure_notify: bool,
complete_notify: bool,
idle_notify: bool,
redirect_notify: bool
) -> Self
pub fn count_ones(&self) -> usize[src]
pub const CONFIGURE_NOTIFY: Self[src]
pub const COMPLETE_NOTIFY: Self[src]
pub const IDLE_NOTIFY: Self[src]
pub const REDIRECT_NOTIFY: Self[src]
pub const COMPLETE: Self[src]
Trait Implementations
impl AsByteSequence for EventMask[src]
fn as_bytes(&self, bytes: &mut [u8]) -> usize[src]
fn from_bytes(bytes: &[u8]) -> Option<(Self, usize)>[src]
fn size(&self) -> usize[src]
fn file_descriptors(&mut self) -> Option<&mut Vec<Fd>>[src]
impl BitAnd<EventMask> for EventMask[src]
type Output = EventMask
The resulting type after applying the & operator.
fn bitand(self, rhs: EventMask) -> EventMask[src]
impl BitOr<EventMask> for EventMask[src]
type Output = EventMask
The resulting type after applying the | operator.
fn bitor(self, rhs: EventMask) -> EventMask[src]
impl BitXor<EventMask> for EventMask[src]
type Output = EventMask
The resulting type after applying the ^ operator.
fn bitxor(self, rhs: EventMask) -> EventMask[src]
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.
fn not(self) -> EventMask[src]
impl Ord for EventMask[src]
fn cmp(&self, other: &EventMask) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl PartialEq<EventMask> for EventMask[src]
impl PartialOrd<EventMask> for EventMask[src]
fn partial_cmp(&self, other: &EventMask) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for EventMask[src]
impl StructuralPartialEq for EventMask[src]
Auto Trait Implementations
impl RefUnwindSafe for EventMask
impl Send for EventMask
impl Sync for EventMask
impl Unpin for EventMask
impl UnwindSafe for EventMask
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,