Struct druid::piet::cairo::XCBConnection
pub struct XCBConnection(pub NonNull<xcb_connection_t>);
Tuple Fields§
§0: NonNull<xcb_connection_t>
Implementations§
§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§
§impl Clone for XCBConnection
impl Clone for XCBConnection
§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 more§impl Debug for XCBConnection
impl Debug for XCBConnection
§impl Display for XCBConnection
impl Display for XCBConnection
§impl FromGlibPtrBorrow<*mut xcb_connection_t> for XCBConnection
impl FromGlibPtrBorrow<*mut xcb_connection_t> for XCBConnection
§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
§impl FromGlibPtrFull<*mut xcb_connection_t> for XCBConnection
impl FromGlibPtrFull<*mut xcb_connection_t> for XCBConnection
§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
§impl FromGlibPtrNone<*mut xcb_connection_t> for XCBConnection
impl FromGlibPtrNone<*mut xcb_connection_t> for XCBConnection
§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
§impl<'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
§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
§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
§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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.