Struct x11rb_protocol::protocol::randr::Connection
source · pub struct Connection(u8);
Tuple Fields§
§0: u8
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§impl PartialOrd for Connection
impl PartialOrd for Connection
impl Copy for Connection
impl Eq for Connection
impl StructuralPartialEq for Connection
Auto Trait Implementations§
impl Freeze for Connection
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
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
)