Struct x11rb::protocol::randr::Connection
source · pub struct Connection(/* private fields */);
Implementations§
source§impl Connection
impl Connection
pub const CONNECTED: Connection = _
pub const DISCONNECTED: Connection = _
pub const UNKNOWN: Connection = _
Trait Implementations§
source§impl Clone for Connection
impl Clone for Connection
source§fn clone(&self) -> Connection
fn clone(&self) -> Connection
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 Connection
impl Debug for Connection
source§impl Default for Connection
impl Default for Connection
source§fn default() -> Connection
fn default() -> Connection
Returns the “default value” for a type. Read more
source§impl From<u8> for Connection
impl From<u8> for Connection
source§fn from(value: u8) -> Connection
fn from(value: u8) -> Connection
Converts to this type from the input type.
source§impl Hash for Connection
impl Hash for Connection
source§impl Ord for Connection
impl Ord for Connection
source§fn cmp(&self, other: &Connection) -> Ordering
fn cmp(&self, other: &Connection) -> 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 Connection
impl PartialEq for Connection
source§fn eq(&self, other: &Connection) -> bool
fn eq(&self, other: &Connection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Connection
impl PartialOrd for Connection
source§fn partial_cmp(&self, other: &Connection) -> Option<Ordering>
fn partial_cmp(&self, other: &Connection) -> 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 Connection
impl Eq for Connection
impl StructuralEq for Connection
impl StructuralPartialEq for Connection
Auto Trait Implementations§
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
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