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