Struct cairo::XCBVisualType
source · pub struct XCBVisualType(pub NonNull<xcb_visualtype_t>);
Tuple Fields§
§0: NonNull<xcb_visualtype_t>
Implementations§
source§impl XCBVisualType
impl XCBVisualType
pub fn to_raw_none(&self) -> *mut xcb_visualtype_t
pub unsafe fn from_raw_none(ptr: *mut xcb_visualtype_t) -> XCBVisualType
pub unsafe fn from_raw_borrow( ptr: *mut xcb_visualtype_t ) -> Borrowed<XCBVisualType>
pub unsafe fn from_raw_full(ptr: *mut xcb_visualtype_t) -> XCBVisualType
Trait Implementations§
source§impl Clone for XCBVisualType
impl Clone for XCBVisualType
source§fn clone(&self) -> XCBVisualType
fn clone(&self) -> XCBVisualType
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 XCBVisualType
impl Debug for XCBVisualType
source§impl Display for XCBVisualType
impl Display for XCBVisualType
source§impl FromGlibPtrBorrow<*mut xcb_visualtype_t> for XCBVisualType
impl FromGlibPtrBorrow<*mut xcb_visualtype_t> for XCBVisualType
source§unsafe fn from_glib_borrow(
ptr: *mut xcb_visualtype_t
) -> Borrowed<XCBVisualType>
unsafe fn from_glib_borrow( ptr: *mut xcb_visualtype_t ) -> Borrowed<XCBVisualType>
Safety Read more
source§impl FromGlibPtrFull<*mut xcb_visualtype_t> for XCBVisualType
impl FromGlibPtrFull<*mut xcb_visualtype_t> for XCBVisualType
source§unsafe fn from_glib_full(ptr: *mut xcb_visualtype_t) -> XCBVisualType
unsafe fn from_glib_full(ptr: *mut xcb_visualtype_t) -> XCBVisualType
Safety Read more
source§impl FromGlibPtrNone<*mut xcb_visualtype_t> for XCBVisualType
impl FromGlibPtrNone<*mut xcb_visualtype_t> for XCBVisualType
source§unsafe fn from_glib_none(ptr: *mut xcb_visualtype_t) -> XCBVisualType
unsafe fn from_glib_none(ptr: *mut xcb_visualtype_t) -> XCBVisualType
Safety Read more
source§impl<'a> ToGlibPtr<'a, *mut xcb_visualtype_t> for &'a XCBVisualType
impl<'a> ToGlibPtr<'a, *mut xcb_visualtype_t> for &'a XCBVisualType
type Storage = &'a XCBVisualType
source§fn to_glib_none(&self) -> Stash<'a, *mut xcb_visualtype_t, &'a XCBVisualType>
fn to_glib_none(&self) -> Stash<'a, *mut xcb_visualtype_t, &'a XCBVisualType>
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