Struct nannou_wgpu::DeviceMapKey
source · pub struct DeviceMapKey { /* private fields */ }
Expand description
The key into the device map.
This type is a thin wrapper around wgpu::DeviceDesriptor
that provides implementations of
Eq
and Hash
.
Trait Implementations§
source§impl Clone for DeviceMapKey
impl Clone for DeviceMapKey
source§fn clone(&self) -> DeviceMapKey
fn clone(&self) -> DeviceMapKey
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 DeviceMapKey
impl Debug for DeviceMapKey
source§impl Hash for DeviceMapKey
impl Hash for DeviceMapKey
source§impl PartialEq for DeviceMapKey
impl PartialEq for DeviceMapKey
impl Eq for DeviceMapKey
Auto Trait Implementations§
impl RefUnwindSafe for DeviceMapKey
impl Send for DeviceMapKey
impl Sync for DeviceMapKey
impl Unpin for DeviceMapKey
impl UnwindSafe for DeviceMapKey
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.