Struct x11rb_protocol::protocol::randr::Connection
source · pub struct Connection(/* private fields */);
Implementations§
source§impl Connection
impl 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<Connection> for Option<u16>
impl From<Connection> for Option<u16>
source§fn from(input: Connection) -> Self
fn from(input: Connection) -> Self
Converts to this type from the input type.
source§impl From<Connection> for Option<u32>
impl From<Connection> for Option<u32>
source§fn from(input: Connection) -> Self
fn from(input: Connection) -> Self
Converts to this type from the input type.
source§impl From<Connection> for Option<u8>
impl From<Connection> for Option<u8>
source§fn from(input: Connection) -> Self
fn from(input: Connection) -> Self
Converts to this type from the input type.
source§impl From<Connection> for u16
impl From<Connection> for u16
source§fn from(input: Connection) -> Self
fn from(input: Connection) -> Self
Converts to this type from the input type.
source§impl From<Connection> for u32
impl From<Connection> for u32
source§fn from(input: Connection) -> Self
fn from(input: Connection) -> Self
Converts to this type from the input type.
source§impl From<Connection> for u8
impl From<Connection> for u8
source§fn from(input: Connection) -> Self
fn from(input: Connection) -> Self
Converts to this type from the input type.
source§impl From<u8> for Connection
impl From<u8> for Connection
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