Struct x11rb::protocol::xinput::PropagateMode
source · pub struct PropagateMode(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl PropagateMode
impl PropagateMode
pub const ADD_TO_LIST: PropagateMode = _
pub const DELETE_FROM_LIST: PropagateMode = _
Trait Implementations§
source§impl Clone for PropagateMode
impl Clone for PropagateMode
source§fn clone(&self) -> PropagateMode
fn clone(&self) -> PropagateMode
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 PropagateMode
impl Debug for PropagateMode
source§impl Default for PropagateMode
impl Default for PropagateMode
source§fn default() -> PropagateMode
fn default() -> PropagateMode
Returns the “default value” for a type. Read more
source§impl From<u8> for PropagateMode
impl From<u8> for PropagateMode
source§fn from(value: u8) -> PropagateMode
fn from(value: u8) -> PropagateMode
Converts to this type from the input type.
source§impl Hash for PropagateMode
impl Hash for PropagateMode
source§impl Ord for PropagateMode
impl Ord for PropagateMode
source§fn cmp(&self, other: &PropagateMode) -> Ordering
fn cmp(&self, other: &PropagateMode) -> 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 PropagateMode
impl PartialEq for PropagateMode
source§fn eq(&self, other: &PropagateMode) -> bool
fn eq(&self, other: &PropagateMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PropagateMode
impl PartialOrd for PropagateMode
source§fn partial_cmp(&self, other: &PropagateMode) -> Option<Ordering>
fn partial_cmp(&self, other: &PropagateMode) -> 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 PropagateMode
impl Eq for PropagateMode
impl StructuralPartialEq for PropagateMode
Auto Trait Implementations§
impl Freeze for PropagateMode
impl RefUnwindSafe for PropagateMode
impl Send for PropagateMode
impl Sync for PropagateMode
impl Unpin for PropagateMode
impl UnwindSafe for PropagateMode
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