Struct x11rb::protocol::xproto::Visibility
source · pub struct Visibility(/* private fields */);
Implementations§
source§impl Visibility
impl Visibility
pub const UNOBSCURED: Visibility = _
pub const PARTIALLY_OBSCURED: Visibility = _
pub const FULLY_OBSCURED: Visibility = _
Trait Implementations§
source§impl Clone for Visibility
impl Clone for Visibility
source§fn clone(&self) -> Visibility
fn clone(&self) -> Visibility
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 Visibility
impl Debug for Visibility
source§impl Default for Visibility
impl Default for Visibility
source§fn default() -> Visibility
fn default() -> Visibility
Returns the “default value” for a type. Read more
source§impl From<u8> for Visibility
impl From<u8> for Visibility
source§fn from(value: u8) -> Visibility
fn from(value: u8) -> Visibility
Converts to this type from the input type.
source§impl Hash for Visibility
impl Hash for Visibility
source§impl Ord for Visibility
impl Ord for Visibility
source§fn cmp(&self, other: &Visibility) -> Ordering
fn cmp(&self, other: &Visibility) -> 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 Visibility
impl PartialEq for Visibility
source§fn 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 ==
.source§impl PartialOrd for Visibility
impl PartialOrd for Visibility
source§fn partial_cmp(&self, other: &Visibility) -> Option<Ordering>
fn partial_cmp(&self, other: &Visibility) -> 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 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§
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