Struct xcb::x::SetupRequest
source · [−]pub struct SetupRequest { /* private fields */ }
Implementations
sourceimpl SetupRequest
impl SetupRequest
pub fn byte_order(&self) -> u8
pub fn protocol_major_version(&self) -> u16
pub fn protocol_minor_version(&self) -> u16
Trait Implementations
sourceimpl Borrow<SetupRequest> for SetupRequestBuf
impl Borrow<SetupRequest> for SetupRequestBuf
sourcefn borrow(&self) -> &SetupRequest
fn borrow(&self) -> &SetupRequest
Immutably borrows from an owned value. Read more
sourceimpl Debug for SetupRequest
impl Debug for SetupRequest
sourceimpl ToOwned for SetupRequest
impl ToOwned for SetupRequest
type Owned = SetupRequestBuf
type Owned = SetupRequestBuf
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more