[][src]Struct cairo::XCBConnection

pub struct XCBConnection(pub NonNull<xcb_connection_t>);


impl XCBConnection[src]

pub fn to_raw_none(&self) -> *mut xcb_connection_t[src]

pub unsafe fn from_raw_none(ptr: *mut xcb_connection_t) -> XCBConnection[src]

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[src]

Trait Implementations

impl Clone for XCBConnection[src]

impl Debug for XCBConnection[src]

impl Display for XCBConnection[src]

impl FromGlibPtrBorrow<*mut xcb_connection_t> for XCBConnection[src]

impl FromGlibPtrFull<*mut xcb_connection_t> for XCBConnection[src]

impl FromGlibPtrNone<*mut xcb_connection_t> for XCBConnection[src]

impl<'a> ToGlibPtr<'a, *mut xcb_connection_t> for &'a XCBConnection[src]

type Storage = &'a XCBConnection

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

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.