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