Struct x11rb::protocol::xfixes::SaveSetMode
source · pub struct SaveSetMode(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl SaveSetMode
impl SaveSetMode
pub const INSERT: SaveSetMode = _
pub const DELETE: SaveSetMode = _
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 From<u8> for SaveSetMode
impl From<u8> for SaveSetMode
source§fn from(value: u8) -> SaveSetMode
fn from(value: u8) -> SaveSetMode
Converts to this type from the input type.
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 moreimpl 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