Struct cairo::XCBConnection
source · pub struct XCBConnection(pub NonNull<xcb_connection_t>);
Available on crate feature
xcb
only.Tuple Fields§
§0: NonNull<xcb_connection_t>
Implementations§
source§impl XCBConnection
impl XCBConnection
pub fn to_raw_none(&self) -> *mut xcb_connection_t
pub unsafe fn from_raw_none(ptr: *mut xcb_connection_t) -> XCBConnection
pub unsafe fn from_raw_borrow( ptr: *mut xcb_connection_t ) -> Borrowed<XCBConnection>
pub unsafe fn from_raw_full(ptr: *mut xcb_connection_t) -> XCBConnection
Trait Implementations§
source§impl Clone for XCBConnection
impl Clone for XCBConnection
source§fn clone(&self) -> XCBConnection
fn clone(&self) -> XCBConnection
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 XCBConnection
impl Debug for XCBConnection
source§impl Display for XCBConnection
impl Display for XCBConnection
source§impl FromGlibPtrBorrow<*mut xcb_connection_t> for XCBConnection
impl FromGlibPtrBorrow<*mut xcb_connection_t> for XCBConnection
source§unsafe fn from_glib_borrow(
ptr: *mut xcb_connection_t
) -> Borrowed<XCBConnection>
unsafe fn from_glib_borrow( ptr: *mut xcb_connection_t ) -> Borrowed<XCBConnection>
Safety Read more
source§impl FromGlibPtrFull<*mut xcb_connection_t> for XCBConnection
impl FromGlibPtrFull<*mut xcb_connection_t> for XCBConnection
source§unsafe fn from_glib_full(ptr: *mut xcb_connection_t) -> XCBConnection
unsafe fn from_glib_full(ptr: *mut xcb_connection_t) -> XCBConnection
Safety Read more
source§impl FromGlibPtrNone<*mut xcb_connection_t> for XCBConnection
impl FromGlibPtrNone<*mut xcb_connection_t> for XCBConnection
source§unsafe fn from_glib_none(ptr: *mut xcb_connection_t) -> XCBConnection
unsafe fn from_glib_none(ptr: *mut xcb_connection_t) -> XCBConnection
Safety Read more
source§impl<'a> ToGlibPtr<'a, *mut xcb_connection_t> for &'a XCBConnection
impl<'a> ToGlibPtr<'a, *mut xcb_connection_t> for &'a XCBConnection
type Storage = PhantomData<&'a XCBConnection>
source§fn to_glib_none(&self) -> Stash<'a, *mut xcb_connection_t, &'a XCBConnection>
fn to_glib_none(&self) -> Stash<'a, *mut xcb_connection_t, &'a XCBConnection>
Transfer: none. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§fn to_glib_full(&self) -> P
fn to_glib_full(&self) -> P
Transfer: full. Read more
Auto Trait Implementations§
impl RefUnwindSafe for XCBConnection
impl !Send for XCBConnection
impl !Sync for XCBConnection
impl Unpin for XCBConnection
impl UnwindSafe for XCBConnection
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