Struct x11rb_protocol::protocol::xproto::ScreenSaver
source · pub struct ScreenSaver(u8);
Tuple Fields§
§0: u8
Implementations§
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<ScreenSaver> for Option<u16>
impl From<ScreenSaver> for Option<u16>
source§fn from(input: ScreenSaver) -> Self
fn from(input: ScreenSaver) -> Self
Converts to this type from the input type.
source§impl From<ScreenSaver> for Option<u32>
impl From<ScreenSaver> for Option<u32>
source§fn from(input: ScreenSaver) -> Self
fn from(input: ScreenSaver) -> Self
Converts to this type from the input type.
source§impl From<ScreenSaver> for Option<u8>
impl From<ScreenSaver> for Option<u8>
source§fn from(input: ScreenSaver) -> Self
fn from(input: ScreenSaver) -> Self
Converts to this type from the input type.
source§impl From<ScreenSaver> for u16
impl From<ScreenSaver> for u16
source§fn from(input: ScreenSaver) -> Self
fn from(input: ScreenSaver) -> Self
Converts to this type from the input type.
source§impl From<ScreenSaver> for u32
impl From<ScreenSaver> for u32
source§fn from(input: ScreenSaver) -> Self
fn from(input: ScreenSaver) -> Self
Converts to this type from the input type.
source§impl From<ScreenSaver> for u8
impl From<ScreenSaver> for u8
source§fn from(input: ScreenSaver) -> Self
fn from(input: ScreenSaver) -> Self
Converts to this type from the input type.
source§impl From<u8> for ScreenSaver
impl From<u8> for ScreenSaver
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§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
)