Struct x11rb_protocol::protocol::xproto::WindowClass
source · [−]pub struct WindowClass(_);
Implementations
sourceimpl WindowClass
impl WindowClass
pub const COPY_FROM_PARENT: Self = Self(0)
pub const INPUT_OUTPUT: Self = Self(1)
pub const INPUT_ONLY: Self = Self(2)
Trait Implementations
sourceimpl Clone for WindowClass
impl Clone for WindowClass
sourcefn clone(&self) -> WindowClass
fn clone(&self) -> WindowClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WindowClass
impl Debug for WindowClass
sourceimpl Default for WindowClass
impl Default for WindowClass
sourcefn default() -> WindowClass
fn default() -> WindowClass
Returns the “default value” for a type. Read more
sourceimpl From<WindowClass> for u16
impl From<WindowClass> for u16
sourcefn from(input: WindowClass) -> Self
fn from(input: WindowClass) -> Self
Converts to this type from the input type.
sourceimpl From<WindowClass> for Option<u16>
impl From<WindowClass> for Option<u16>
sourcefn from(input: WindowClass) -> Self
fn from(input: WindowClass) -> Self
Converts to this type from the input type.
sourceimpl From<WindowClass> for u32
impl From<WindowClass> for u32
sourcefn from(input: WindowClass) -> Self
fn from(input: WindowClass) -> Self
Converts to this type from the input type.
sourceimpl From<WindowClass> for Option<u32>
impl From<WindowClass> for Option<u32>
sourcefn from(input: WindowClass) -> Self
fn from(input: WindowClass) -> Self
Converts to this type from the input type.
sourceimpl From<u16> for WindowClass
impl From<u16> for WindowClass
sourceimpl From<u8> for WindowClass
impl From<u8> for WindowClass
sourceimpl Hash for WindowClass
impl Hash for WindowClass
sourceimpl Ord for WindowClass
impl Ord for WindowClass
sourceimpl PartialEq<WindowClass> for WindowClass
impl PartialEq<WindowClass> for WindowClass
sourcefn eq(&self, other: &WindowClass) -> bool
fn eq(&self, other: &WindowClass) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WindowClass) -> bool
fn ne(&self, other: &WindowClass) -> bool
This method tests for !=
.
sourceimpl PartialOrd<WindowClass> for WindowClass
impl PartialOrd<WindowClass> for WindowClass
sourcefn partial_cmp(&self, other: &WindowClass) -> Option<Ordering>
fn partial_cmp(&self, other: &WindowClass) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for WindowClass
impl Eq for WindowClass
impl StructuralEq for WindowClass
impl StructuralPartialEq for WindowClass
Auto Trait Implementations
impl RefUnwindSafe for WindowClass
impl Send for WindowClass
impl Sync for WindowClass
impl Unpin for WindowClass
impl UnwindSafe for WindowClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more