Struct wgpu_hal::gles::egl::DisplayOwner
source · struct DisplayOwner {
library: Library,
display: DisplayRef,
}
Expand description
DisplayOwner ties the lifetime of the system display handle to that of the loaded library. It implements Drop to ensure that the display handle is closed prior to unloading the library so that we don’t leak the associated file descriptors
Fields§
§library: Library
§display: DisplayRef
Trait Implementations§
source§impl Debug for DisplayOwner
impl Debug for DisplayOwner
Auto Trait Implementations§
impl Freeze for DisplayOwner
impl RefUnwindSafe for DisplayOwner
impl !Send for DisplayOwner
impl !Sync for DisplayOwner
impl Unpin for DisplayOwner
impl UnwindSafe for DisplayOwner
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