pub struct NativeGpuIdentity {
pub physical_device: u64,
pub device: u64,
pub epoch: u64,
}Expand description
Stable identity of a native GPU device for cache and import validation.
Fields§
§physical_device: u64Backend-specific physical-device identity.
device: u64Logical-device identity. Handles from different values cannot be mixed.
epoch: u64Monotonic epoch changed whenever the render device is recreated.
Trait Implementations§
Source§impl Clone for NativeGpuIdentity
impl Clone for NativeGpuIdentity
impl Copy for NativeGpuIdentity
Source§impl Debug for NativeGpuIdentity
impl Debug for NativeGpuIdentity
impl Eq for NativeGpuIdentity
Source§impl Hash for NativeGpuIdentity
impl Hash for NativeGpuIdentity
Source§impl PartialEq for NativeGpuIdentity
impl PartialEq for NativeGpuIdentity
impl StructuralPartialEq for NativeGpuIdentity
Auto Trait Implementations§
impl Freeze for NativeGpuIdentity
impl RefUnwindSafe for NativeGpuIdentity
impl Send for NativeGpuIdentity
impl Sync for NativeGpuIdentity
impl Unpin for NativeGpuIdentity
impl UnsafeUnpin for NativeGpuIdentity
impl UnwindSafe for NativeGpuIdentity
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.