Struct x11rb::protocol::xfixes::RegionEnum
source · pub struct RegionEnum(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl RegionEnum
impl RegionEnum
pub const NONE: 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<u8> for RegionEnum
impl From<u8> for RegionEnum
source§fn from(value: u8) -> RegionEnum
fn from(value: u8) -> RegionEnum
Converts to this type from the input type.
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