Struct surfman::platform::unix::wayland::connection::NativeConnection
source · pub struct NativeConnection(pub *const c_void);
Expand description
An EGL display wrapping a Wayland display.
Tuple Fields§
§0: *const c_void
Implementations§
source§impl NativeConnection
impl NativeConnection
sourcepub fn current() -> Result<NativeConnection, Error>
pub fn current() -> Result<NativeConnection, Error>
Returns the current native connection, if applicable.
Auto Trait Implementations§
impl Freeze for NativeConnection
impl RefUnwindSafe for NativeConnection
impl !Send for NativeConnection
impl !Sync for NativeConnection
impl Unpin for NativeConnection
impl UnwindSafe for NativeConnection
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