Struct x11rb::xcb_ffi::raw_ffi::XcbConnectionWrapper
source · pub(crate) struct XcbConnectionWrapper {
ptr: NonNull<xcb_connection_t>,
should_drop: bool,
}
Fields§
§ptr: NonNull<xcb_connection_t>
§should_drop: bool
Implementations§
source§impl XcbConnectionWrapper
impl XcbConnectionWrapper
pub(crate) unsafe fn new(ptr: *mut xcb_connection_t, should_drop: bool) -> Self
pub(crate) fn as_ptr(&self) -> *mut xcb_connection_t
Trait Implementations§
source§impl Debug for XcbConnectionWrapper
impl Debug for XcbConnectionWrapper
source§impl Drop for XcbConnectionWrapper
impl Drop for XcbConnectionWrapper
impl Send for XcbConnectionWrapper
impl Sync for XcbConnectionWrapper
Auto Trait Implementations§
impl Freeze for XcbConnectionWrapper
impl RefUnwindSafe for XcbConnectionWrapper
impl Unpin for XcbConnectionWrapper
impl UnwindSafe for XcbConnectionWrapper
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