Struct x11rb_protocol::protocol::xfixes::SaveSetMode
source · pub struct SaveSetMode(/* private fields */);
Implementations§
Trait Implementations§
source§impl Clone for SaveSetMode
impl Clone for SaveSetMode
source§fn clone(&self) -> SaveSetMode
fn clone(&self) -> SaveSetMode
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 SaveSetMode
impl Debug for SaveSetMode
source§impl Default for SaveSetMode
impl Default for SaveSetMode
source§fn default() -> SaveSetMode
fn default() -> SaveSetMode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SaveSetMode
impl<'de> Deserialize<'de> for SaveSetMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<SaveSetMode> for Option<u16>
impl From<SaveSetMode> for Option<u16>
source§fn from(input: SaveSetMode) -> Self
fn from(input: SaveSetMode) -> Self
Converts to this type from the input type.
source§impl From<SaveSetMode> for Option<u32>
impl From<SaveSetMode> for Option<u32>
source§fn from(input: SaveSetMode) -> Self
fn from(input: SaveSetMode) -> Self
Converts to this type from the input type.
source§impl From<SaveSetMode> for Option<u8>
impl From<SaveSetMode> for Option<u8>
source§fn from(input: SaveSetMode) -> Self
fn from(input: SaveSetMode) -> Self
Converts to this type from the input type.
source§impl From<SaveSetMode> for u16
impl From<SaveSetMode> for u16
source§fn from(input: SaveSetMode) -> Self
fn from(input: SaveSetMode) -> Self
Converts to this type from the input type.
source§impl From<SaveSetMode> for u32
impl From<SaveSetMode> for u32
source§fn from(input: SaveSetMode) -> Self
fn from(input: SaveSetMode) -> Self
Converts to this type from the input type.
source§impl From<SaveSetMode> for u8
impl From<SaveSetMode> for u8
source§fn from(input: SaveSetMode) -> Self
fn from(input: SaveSetMode) -> Self
Converts to this type from the input type.
source§impl From<u8> for SaveSetMode
impl From<u8> for SaveSetMode
source§impl Hash for SaveSetMode
impl Hash for SaveSetMode
source§impl Ord for SaveSetMode
impl Ord for SaveSetMode
source§fn cmp(&self, other: &SaveSetMode) -> Ordering
fn cmp(&self, other: &SaveSetMode) -> 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 SaveSetMode
impl PartialEq for SaveSetMode
source§fn eq(&self, other: &SaveSetMode) -> bool
fn eq(&self, other: &SaveSetMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SaveSetMode
impl PartialOrd for SaveSetMode
source§fn partial_cmp(&self, other: &SaveSetMode) -> Option<Ordering>
fn partial_cmp(&self, other: &SaveSetMode) -> 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 moresource§impl Serialize for SaveSetMode
impl Serialize for SaveSetMode
impl Copy for SaveSetMode
impl Eq for SaveSetMode
impl StructuralPartialEq for SaveSetMode
Auto Trait Implementations§
impl Freeze for SaveSetMode
impl RefUnwindSafe for SaveSetMode
impl Send for SaveSetMode
impl Sync for SaveSetMode
impl Unpin for SaveSetMode
impl UnwindSafe for SaveSetMode
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