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