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