Struct x11rb_protocol::protocol::xproto::Visibility
source · [−]pub struct Visibility(_);
Implementations
sourceimpl Visibility
impl Visibility
pub const UNOBSCURED: Self = Self(0)
pub const PARTIALLY_OBSCURED: Self = Self(1)
pub const FULLY_OBSCURED: Self = Self(2)
Trait Implementations
sourceimpl Clone for Visibility
impl Clone for Visibility
sourcefn clone(&self) -> Visibility
fn clone(&self) -> Visibility
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 Visibility
impl Debug for Visibility
sourceimpl Default for Visibility
impl Default for Visibility
sourcefn default() -> Visibility
fn default() -> Visibility
Returns the “default value” for a type. Read more
sourceimpl From<Visibility> for u8
impl From<Visibility> for u8
sourcefn from(input: Visibility) -> Self
fn from(input: Visibility) -> Self
Converts to this type from the input type.
sourceimpl From<Visibility> for Option<u8>
impl From<Visibility> for Option<u8>
sourcefn from(input: Visibility) -> Self
fn from(input: Visibility) -> Self
Converts to this type from the input type.
sourceimpl From<Visibility> for u16
impl From<Visibility> for u16
sourcefn from(input: Visibility) -> Self
fn from(input: Visibility) -> Self
Converts to this type from the input type.
sourceimpl From<Visibility> for Option<u16>
impl From<Visibility> for Option<u16>
sourcefn from(input: Visibility) -> Self
fn from(input: Visibility) -> Self
Converts to this type from the input type.
sourceimpl From<Visibility> for u32
impl From<Visibility> for u32
sourcefn from(input: Visibility) -> Self
fn from(input: Visibility) -> Self
Converts to this type from the input type.
sourceimpl From<Visibility> for Option<u32>
impl From<Visibility> for Option<u32>
sourcefn from(input: Visibility) -> Self
fn from(input: Visibility) -> Self
Converts to this type from the input type.
sourceimpl From<u8> for Visibility
impl From<u8> for Visibility
sourceimpl Hash for Visibility
impl Hash for Visibility
sourceimpl Ord for Visibility
impl Ord for Visibility
sourceimpl PartialEq<Visibility> for Visibility
impl PartialEq<Visibility> for Visibility
sourcefn eq(&self, other: &Visibility) -> bool
fn eq(&self, other: &Visibility) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Visibility) -> bool
fn ne(&self, other: &Visibility) -> bool
This method tests for !=
.
sourceimpl PartialOrd<Visibility> for Visibility
impl PartialOrd<Visibility> for Visibility
sourcefn partial_cmp(&self, other: &Visibility) -> Option<Ordering>
fn partial_cmp(&self, other: &Visibility) -> 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 Visibility
impl Eq for Visibility
impl StructuralEq for Visibility
impl StructuralPartialEq for Visibility
Auto Trait Implementations
impl RefUnwindSafe for Visibility
impl Send for Visibility
impl Sync for Visibility
impl Unpin for Visibility
impl UnwindSafe for Visibility
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