Struct cairo::XCBVisualType
source · [−]pub struct XCBVisualType(pub NonNull<xcb_visualtype_t>);
Tuple Fields
0: NonNull<xcb_visualtype_t>
Implementations
sourceimpl 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
sourceimpl Clone for XCBVisualType
impl Clone for XCBVisualType
sourcefn clone(&self) -> XCBVisualType
fn clone(&self) -> XCBVisualType
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 XCBVisualType
impl Debug for XCBVisualType
sourceimpl Display for XCBVisualType
impl Display for XCBVisualType
sourceimpl FromGlibPtrBorrow<*mut xcb_visualtype_t> for XCBVisualType
impl FromGlibPtrBorrow<*mut xcb_visualtype_t> for XCBVisualType
sourceunsafe 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
sourceimpl FromGlibPtrFull<*mut xcb_visualtype_t> for XCBVisualType
impl FromGlibPtrFull<*mut xcb_visualtype_t> for XCBVisualType
sourceunsafe fn from_glib_full(ptr: *mut xcb_visualtype_t) -> XCBVisualType
unsafe fn from_glib_full(ptr: *mut xcb_visualtype_t) -> XCBVisualType
Safety Read more
sourceimpl FromGlibPtrNone<*mut xcb_visualtype_t> for XCBVisualType
impl FromGlibPtrNone<*mut xcb_visualtype_t> for XCBVisualType
sourceunsafe fn from_glib_none(ptr: *mut xcb_visualtype_t) -> XCBVisualType
unsafe fn from_glib_none(ptr: *mut xcb_visualtype_t) -> XCBVisualType
Safety Read more
sourceimpl<'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
sourcefn 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
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 XCBVisualType
impl !Send for XCBVisualType
impl !Sync for XCBVisualType
impl Unpin for XCBVisualType
impl UnwindSafe for XCBVisualType
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