Struct xcb::x::SetupRequestBuf
source · [−]pub struct SetupRequestBuf { /* private fields */ }
Implementations
Methods from Deref<Target = 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 Clone for SetupRequestBuf
impl Clone for SetupRequestBuf
sourcefn clone(&self) -> SetupRequestBuf
fn clone(&self) -> SetupRequestBuf
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SetupRequestBuf
impl Debug for SetupRequestBuf
sourceimpl Deref for SetupRequestBuf
impl Deref for SetupRequestBuf
type Target = SetupRequest
type Target = SetupRequest
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for SetupRequestBuf
impl Send for SetupRequestBuf
impl Sync for SetupRequestBuf
impl Unpin for SetupRequestBuf
impl UnwindSafe for SetupRequestBuf
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more