Enum xcb::x::ScreenSaver
source · #[repr(u32)]pub enum ScreenSaver {
Reset = 0,
Active = 1,
}
Variants§
Trait Implementations§
source§impl Clone for ScreenSaver
impl Clone for ScreenSaver
source§fn clone(&self) -> ScreenSaver
fn clone(&self) -> ScreenSaver
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ScreenSaver
impl Debug for ScreenSaver
source§impl Ord for ScreenSaver
impl Ord for ScreenSaver
source§fn cmp(&self, other: &ScreenSaver) -> Ordering
fn cmp(&self, other: &ScreenSaver) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ScreenSaver
impl PartialEq for ScreenSaver
source§impl PartialOrd for ScreenSaver
impl PartialOrd for ScreenSaver
impl Copy for ScreenSaver
impl Eq for ScreenSaver
impl StructuralPartialEq for ScreenSaver
Auto Trait Implementations§
impl Freeze for ScreenSaver
impl RefUnwindSafe for ScreenSaver
impl Send for ScreenSaver
impl Sync for ScreenSaver
impl Unpin for ScreenSaver
impl UnwindSafe for ScreenSaver
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)