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