Struct cairo::XCBConnection
source · [−]pub struct XCBConnection(pub NonNull<xcb_connection_t>);
Tuple Fields
0: NonNull<xcb_connection_t>
Implementations
sourceimpl 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
sourceimpl Clone for XCBConnection
impl Clone for XCBConnection
sourcefn clone(&self) -> XCBConnection
fn clone(&self) -> XCBConnection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for XCBConnection
impl Debug for XCBConnection
sourceimpl Display for XCBConnection
impl Display for XCBConnection
sourceimpl FromGlibPtrBorrow<*mut xcb_connection_t> for XCBConnection
impl FromGlibPtrBorrow<*mut xcb_connection_t> for XCBConnection
sourceunsafe 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
sourceimpl FromGlibPtrFull<*mut xcb_connection_t> for XCBConnection
impl FromGlibPtrFull<*mut xcb_connection_t> for XCBConnection
sourceunsafe fn from_glib_full(ptr: *mut xcb_connection_t) -> XCBConnection
unsafe fn from_glib_full(ptr: *mut xcb_connection_t) -> XCBConnection
Safety Read more
sourceimpl FromGlibPtrNone<*mut xcb_connection_t> for XCBConnection
impl FromGlibPtrNone<*mut xcb_connection_t> for XCBConnection
sourceunsafe fn from_glib_none(ptr: *mut xcb_connection_t) -> XCBConnection
unsafe fn from_glib_none(ptr: *mut xcb_connection_t) -> XCBConnection
Safety Read more
sourceimpl<'a> ToGlibPtr<'a, *mut xcb_connection_t> for &'a XCBConnection
impl<'a> ToGlibPtr<'a, *mut xcb_connection_t> for &'a XCBConnection
type Storage = &'a XCBConnection
sourcefn 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
sourcefn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
sourcefn 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
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