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