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