Struct xcb::dri2::ConnectReply
source · [−]pub struct ConnectReply { /* private fields */ }
Expand description
Reply type for Connect.
Can be obtained from a ConnectCookie with Connection::wait_for_reply or from a ConnectCookieUnchecked with Connection::wait_for_reply_unchecked
Implementations
sourceimpl ConnectReply
impl ConnectReply
pub fn response_type(&self) -> u8
pub fn sequence(&self) -> u16
pub fn length(&self) -> u32
pub fn driver_name(&self) -> &Lat1Str
pub fn alignment_pad(&self) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
pub fn device_name(&self) -> &Lat1Str
Trait Implementations
sourceimpl Debug for ConnectReply
impl Debug for ConnectReply
sourceimpl Drop for ConnectReply
impl Drop for ConnectReply
sourceimpl Reply for ConnectReply
impl Reply for ConnectReply
impl Send for ConnectReply
impl Sync for ConnectReply
Auto Trait Implementations
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