[−][src]Struct breadx::auto::screensaver::Event
Fields
inner: u32
Implementations
impl Event
[src]
pub fn notify_mask(&self) -> bool
[src]
pub fn set_notify_mask(&mut self, val: bool) -> &mut Self
[src]
pub fn cycle_mask(&self) -> bool
[src]
pub fn set_cycle_mask(&mut self, val: bool) -> &mut Self
[src]
pub fn new(notify_mask: bool, cycle_mask: bool) -> Self
[src]
pub fn count_ones(&self) -> usize
[src]
Trait Implementations
impl AsByteSequence for Event
[src]
pub fn as_bytes(&self, bytes: &mut [u8]) -> usize
[src]
pub fn from_bytes(bytes: &[u8]) -> Option<(Self, usize)>
[src]
pub fn size(&self) -> usize
[src]
pub fn file_descriptors(&mut self) -> Option<&mut Vec<Fd>>
[src]
impl BitAnd<Event> for Event
[src]
type Output = Event
The resulting type after applying the &
operator.
pub fn bitand(self, rhs: Event) -> Event
[src]
impl Clone for Event
[src]
impl Copy for Event
[src]
impl Debug for Event
[src]
impl Default for Event
[src]
impl Eq for Event
[src]
impl Not for Event
[src]
impl Ord for Event
[src]
pub fn cmp(&self, other: &Event) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Event> for Event
[src]
impl PartialOrd<Event> for Event
[src]
pub fn partial_cmp(&self, other: &Event) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Event) -> bool
[src]
pub fn le(&self, other: &Event) -> bool
[src]
pub fn gt(&self, other: &Event) -> bool
[src]
pub fn ge(&self, other: &Event) -> bool
[src]
impl StructuralEq for Event
[src]
impl StructuralPartialEq for Event
[src]
Auto Trait Implementations
impl RefUnwindSafe for Event
[src]
impl Send for Event
[src]
impl Sync for Event
[src]
impl Unpin for Event
[src]
impl UnwindSafe for Event
[src]
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>,