Struct x11rb::protocol::xproto::WindowClass
source · pub struct WindowClass(u16);
Tuple Fields§
§0: u16
Implementations§
source§impl WindowClass
impl WindowClass
pub const COPY_FROM_PARENT: WindowClass = _
pub const INPUT_OUTPUT: WindowClass = _
pub const INPUT_ONLY: WindowClass = _
Trait Implementations§
source§impl Clone for WindowClass
impl Clone for WindowClass
source§fn clone(&self) -> WindowClass
fn clone(&self) -> WindowClass
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 WindowClass
impl Debug for WindowClass
source§impl Default for WindowClass
impl Default for WindowClass
source§fn default() -> WindowClass
fn default() -> WindowClass
Returns the “default value” for a type. Read more
source§impl From<u16> for WindowClass
impl From<u16> for WindowClass
source§fn from(value: u16) -> WindowClass
fn from(value: u16) -> WindowClass
Converts to this type from the input type.
source§impl From<u8> for WindowClass
impl From<u8> for WindowClass
source§fn from(value: u8) -> WindowClass
fn from(value: u8) -> WindowClass
Converts to this type from the input type.
source§impl Hash for WindowClass
impl Hash for WindowClass
source§impl Ord for WindowClass
impl Ord for WindowClass
source§fn cmp(&self, other: &WindowClass) -> Ordering
fn cmp(&self, other: &WindowClass) -> 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 WindowClass
impl PartialEq for WindowClass
source§impl PartialOrd for WindowClass
impl PartialOrd for WindowClass
impl Copy for WindowClass
impl Eq for WindowClass
impl StructuralPartialEq for WindowClass
Auto Trait Implementations§
impl Freeze for WindowClass
impl RefUnwindSafe for WindowClass
impl Send for WindowClass
impl Sync for WindowClass
impl Unpin for WindowClass
impl UnwindSafe for WindowClass
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)