pub(crate) struct NativeConnectionWrapper {
pub(crate) xlib: Xlib,
pub(crate) egl_display: *const c_void,
egl_display_is_owned: bool,
x11_display: *mut Display,
x11_display_is_owned: bool,
}Fields§
§xlib: Xlib§egl_display: *const c_void§egl_display_is_owned: boolWhether or not this NativeConnectionWrapper created its EGLDisplay.
If true, the Drop handler is reponsible for cleaning it up.
x11_display: *mut Display§x11_display_is_owned: boolWhether or not this NativeConnectionWrapper created its X11 Display.
If true, the Drop handler is reponsible for cleaning it up.
Implementations§
Source§impl NativeConnectionWrapper
impl NativeConnectionWrapper
pub(crate) fn lock_display(&self) -> DisplayGuard<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NativeConnectionWrapper
impl RefUnwindSafe for NativeConnectionWrapper
impl !Send for NativeConnectionWrapper
impl !Sync for NativeConnectionWrapper
impl Unpin for NativeConnectionWrapper
impl UnsafeUnpin for NativeConnectionWrapper
impl UnwindSafe for NativeConnectionWrapper
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