Struct x11rb_protocol::protocol::xproto::Visibility
source · pub struct Visibility(u8);
Tuple Fields§
§0: u8
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 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§impl PartialOrd for Visibility
impl PartialOrd 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
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
)