Enum wgpu_hal::gles::egl::DisplayRef
source · enum DisplayRef {
X11(NonNull<c_void>),
Wayland,
}
Expand description
A simple wrapper around an X11 or Wayland display handle. Since the logic in this file doesn’t actually need to directly persist a wayland connection handle, the only load-bearing enum variant is the X11 variant
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DisplayRef
impl RefUnwindSafe for DisplayRef
impl !Send for DisplayRef
impl !Sync for DisplayRef
impl Unpin for DisplayRef
impl UnwindSafe for DisplayRef
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