Struct surfman::platform::unix::x11::connection::NativeConnectionWrapper
source · pub(crate) struct NativeConnectionWrapper {
pub(crate) egl_display: *const c_void,
x11_display: *mut Display,
x11_display_is_owned: bool,
}
Fields§
§egl_display: *const c_void
§x11_display: *mut Display
§x11_display_is_owned: bool
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 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