Struct x11rb_protocol::protocol::xproto::WindowClass
source · pub struct WindowClass(u16);
Tuple Fields§
§0: u16
Implementations§
source§impl WindowClass
impl WindowClass
pub const COPY_FROM_PARENT: Self = _
pub const INPUT_OUTPUT: Self = _
pub const INPUT_ONLY: Self = _
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<WindowClass> for Option<u16>
impl From<WindowClass> for Option<u16>
source§fn from(input: WindowClass) -> Self
fn from(input: WindowClass) -> Self
Converts to this type from the input type.
source§impl From<WindowClass> for Option<u32>
impl From<WindowClass> for Option<u32>
source§fn from(input: WindowClass) -> Self
fn from(input: WindowClass) -> Self
Converts to this type from the input type.
source§impl From<WindowClass> for u16
impl From<WindowClass> for u16
source§fn from(input: WindowClass) -> Self
fn from(input: WindowClass) -> Self
Converts to this type from the input type.
source§impl From<WindowClass> for u32
impl From<WindowClass> for u32
source§fn from(input: WindowClass) -> Self
fn from(input: WindowClass) -> Self
Converts to this type from the input type.
source§impl From<u16> for WindowClass
impl From<u16> for WindowClass
source§impl From<u8> for WindowClass
impl From<u8> for WindowClass
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
)