Struct surfman::platform::windows::wgl::connection::NativeConnection
source · pub struct NativeConnection;
Expand description
An empty placeholder for native connections.
Window server connections are implicit in the Win32 API, so this is a zero-sized type.
Implementations§
source§impl NativeConnection
impl NativeConnection
sourcepub fn new() -> NativeConnection
pub fn new() -> NativeConnection
Creates a native connection.
This is a no-op method present for consistency with other backends.
Trait Implementations§
source§impl Clone for NativeConnection
impl Clone for NativeConnection
source§fn clone(&self) -> NativeConnection
fn clone(&self) -> NativeConnection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto 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