pub struct XCBVisualType(pub NonNull<xcb_visualtype_t>);
Available on crate feature
xcb
only.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 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 = PhantomData<&'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
Auto Trait Implementations§
impl Freeze for XCBVisualType
impl RefUnwindSafe for XCBVisualType
impl !Send for XCBVisualType
impl !Sync for XCBVisualType
impl Unpin for XCBVisualType
impl UnwindSafe for XCBVisualType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more