Struct x11rb_protocol::protocol::xproto::Visibility
source · pub struct Visibility(/* private fields */);
Implementations§
source§impl Visibility
impl Visibility
pub const UNOBSCURED: Self = _
pub const PARTIALLY_OBSCURED: Self = _
pub const FULLY_OBSCURED: Self = _
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<'de> Deserialize<'de> for Visibility
impl<'de> Deserialize<'de> for Visibility
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Visibility> for Option<u16>
impl From<Visibility> for Option<u16>
source§fn from(input: Visibility) -> Self
fn from(input: Visibility) -> Self
Converts to this type from the input type.
source§impl From<Visibility> for Option<u32>
impl From<Visibility> for Option<u32>
source§fn from(input: Visibility) -> Self
fn from(input: Visibility) -> Self
Converts to this type from the input type.
source§impl From<Visibility> for Option<u8>
impl From<Visibility> for Option<u8>
source§fn from(input: Visibility) -> Self
fn from(input: Visibility) -> Self
Converts to this type from the input type.
source§impl From<Visibility> for u16
impl From<Visibility> for u16
source§fn from(input: Visibility) -> Self
fn from(input: Visibility) -> Self
Converts to this type from the input type.
source§impl From<Visibility> for u32
impl From<Visibility> for u32
source§fn from(input: Visibility) -> Self
fn from(input: Visibility) -> Self
Converts to this type from the input type.
source§impl From<Visibility> for u8
impl From<Visibility> for u8
source§fn from(input: Visibility) -> Self
fn from(input: Visibility) -> Self
Converts to this type from the input type.
source§impl From<u8> for Visibility
impl From<u8> for Visibility
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 moresource§impl Serialize for Visibility
impl Serialize for Visibility
impl Copy for Visibility
impl Eq for Visibility
impl StructuralPartialEq for Visibility
Auto Trait Implementations§
impl Freeze for Visibility
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