Struct xcb::x::SetupRequestBuf
source · pub struct SetupRequestBuf { /* private fields */ }
Implementations§
source§impl SetupRequestBuf
impl SetupRequestBuf
sourcepub fn new(
byte_order: u8,
protocol_major_version: u16,
protocol_minor_version: u16,
authorization_protocol_name: &[u8],
authorization_protocol_data: &[u8],
) -> SetupRequestBuf
pub fn new( byte_order: u8, protocol_major_version: u16, protocol_minor_version: u16, authorization_protocol_name: &[u8], authorization_protocol_data: &[u8], ) -> SetupRequestBuf
Construct a new SetupRequestBuf.
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§
source§impl Borrow<SetupRequest> for SetupRequestBuf
impl Borrow<SetupRequest> for SetupRequestBuf
source§fn borrow(&self) -> &SetupRequest
fn borrow(&self) -> &SetupRequest
Immutably borrows from an owned value. Read more
source§impl Clone for SetupRequestBuf
impl Clone for SetupRequestBuf
source§fn clone(&self) -> SetupRequestBuf
fn clone(&self) -> SetupRequestBuf
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 SetupRequestBuf
impl Debug for SetupRequestBuf
Auto Trait Implementations§
impl Freeze for SetupRequestBuf
impl RefUnwindSafe for SetupRequestBuf
impl Send for SetupRequestBuf
impl Sync for SetupRequestBuf
impl Unpin for SetupRequestBuf
impl UnwindSafe for SetupRequestBuf
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
)