Struct x11rb::protocol::xproto::ScreenSaver
source · pub struct ScreenSaver(/* private fields */);
Implementations§
source§impl ScreenSaver
impl ScreenSaver
pub const RESET: ScreenSaver = _
pub const ACTIVE: ScreenSaver = _
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 Default for ScreenSaver
impl Default for ScreenSaver
source§fn default() -> ScreenSaver
fn default() -> ScreenSaver
Returns the “default value” for a type. Read more
source§impl From<u8> for ScreenSaver
impl From<u8> for ScreenSaver
source§fn from(value: u8) -> ScreenSaver
fn from(value: u8) -> ScreenSaver
Converts to this type from the input type.
source§impl Hash for ScreenSaver
impl Hash 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§fn eq(&self, other: &ScreenSaver) -> bool
fn eq(&self, other: &ScreenSaver) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ScreenSaver
impl PartialOrd for ScreenSaver
source§fn partial_cmp(&self, other: &ScreenSaver) -> Option<Ordering>
fn partial_cmp(&self, other: &ScreenSaver) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ScreenSaver
impl Eq for ScreenSaver
impl StructuralEq for ScreenSaver
impl StructuralPartialEq for ScreenSaver
Auto Trait Implementations§
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