pub struct XCBScreen(pub NonNull<xcb_screen_t>);
Tuple Fields§
§0: NonNull<xcb_screen_t>
Implementations§
§impl XCBScreen
impl XCBScreen
pub fn to_raw_none(&self) -> *mut xcb_screen_t
pub unsafe fn from_raw_none(ptr: *mut xcb_screen_t) -> XCBScreen
pub unsafe fn from_raw_borrow(ptr: *mut xcb_screen_t) -> Borrowed<XCBScreen>
pub unsafe fn from_raw_full(ptr: *mut xcb_screen_t) -> XCBScreen
Trait Implementations§
§impl FromGlibPtrBorrow<*mut xcb_screen_t> for XCBScreen
impl FromGlibPtrBorrow<*mut xcb_screen_t> for XCBScreen
§unsafe fn from_glib_borrow(ptr: *mut xcb_screen_t) -> Borrowed<XCBScreen>
unsafe fn from_glib_borrow(ptr: *mut xcb_screen_t) -> Borrowed<XCBScreen>
Safety Read more
§impl FromGlibPtrFull<*mut xcb_screen_t> for XCBScreen
impl FromGlibPtrFull<*mut xcb_screen_t> for XCBScreen
§unsafe fn from_glib_full(ptr: *mut xcb_screen_t) -> XCBScreen
unsafe fn from_glib_full(ptr: *mut xcb_screen_t) -> XCBScreen
Safety Read more
§impl FromGlibPtrNone<*mut xcb_screen_t> for XCBScreen
impl FromGlibPtrNone<*mut xcb_screen_t> for XCBScreen
§unsafe fn from_glib_none(ptr: *mut xcb_screen_t) -> XCBScreen
unsafe fn from_glib_none(ptr: *mut xcb_screen_t) -> XCBScreen
Safety Read more
§impl<'a> ToGlibPtr<'a, *mut xcb_screen_t> for &'a XCBScreen
impl<'a> ToGlibPtr<'a, *mut xcb_screen_t> for &'a XCBScreen
type Storage = &'a XCBScreen
§fn to_glib_none(&self) -> Stash<'a, *mut xcb_screen_t, &'a XCBScreen>
fn to_glib_none(&self) -> Stash<'a, *mut xcb_screen_t, &'a XCBScreen>
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 XCBScreen
impl !Send for XCBScreen
impl !Sync for XCBScreen
impl Unpin for XCBScreen
impl UnwindSafe for XCBScreen
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.