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