Struct wgpu::rwh::OrbitalWindowHandle
source · #[non_exhaustive]pub struct OrbitalWindowHandle {
pub window: NonNull<c_void>,
}
Expand description
Raw window handle for the Redox operating system.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.window: NonNull<c_void>
A pointer to an orbclient window.
Implementations§
Trait Implementations§
source§impl Clone for OrbitalWindowHandle
impl Clone for OrbitalWindowHandle
source§fn clone(&self) -> OrbitalWindowHandle
fn clone(&self) -> OrbitalWindowHandle
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 moresource§impl Debug for OrbitalWindowHandle
impl Debug for OrbitalWindowHandle
source§impl From<OrbitalWindowHandle> for RawWindowHandle
impl From<OrbitalWindowHandle> for RawWindowHandle
source§fn from(value: OrbitalWindowHandle) -> RawWindowHandle
fn from(value: OrbitalWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
source§impl Hash for OrbitalWindowHandle
impl Hash for OrbitalWindowHandle
source§impl PartialEq for OrbitalWindowHandle
impl PartialEq for OrbitalWindowHandle
source§fn eq(&self, other: &OrbitalWindowHandle) -> bool
fn eq(&self, other: &OrbitalWindowHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OrbitalWindowHandle
impl Eq for OrbitalWindowHandle
impl StructuralEq for OrbitalWindowHandle
impl StructuralPartialEq for OrbitalWindowHandle
Auto Trait Implementations§
impl RefUnwindSafe for OrbitalWindowHandle
impl !Send for OrbitalWindowHandle
impl !Sync for OrbitalWindowHandle
impl Unpin for OrbitalWindowHandle
impl UnwindSafe for OrbitalWindowHandle
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.