pub struct NvrtcCacheKey {
pub source_hash: u64,
pub arch: u32,
pub options_hash: u64,
}Expand description
Composite cache key. source_hash and options_hash are produced
by hash_source / hash_options; arch is the SM compute
capability as an integer (e.g. 80, 90, 100).
Fields§
§source_hash: u64§arch: u32§options_hash: u64Trait Implementations§
Source§impl Clone for NvrtcCacheKey
impl Clone for NvrtcCacheKey
Source§fn clone(&self) -> NvrtcCacheKey
fn clone(&self) -> NvrtcCacheKey
Returns a duplicate 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 NvrtcCacheKey
impl Debug for NvrtcCacheKey
Source§impl Hash for NvrtcCacheKey
impl Hash for NvrtcCacheKey
Source§impl PartialEq for NvrtcCacheKey
impl PartialEq for NvrtcCacheKey
impl Copy for NvrtcCacheKey
impl Eq for NvrtcCacheKey
impl StructuralPartialEq for NvrtcCacheKey
Auto Trait Implementations§
impl Freeze for NvrtcCacheKey
impl RefUnwindSafe for NvrtcCacheKey
impl Send for NvrtcCacheKey
impl Sync for NvrtcCacheKey
impl Unpin for NvrtcCacheKey
impl UnsafeUnpin for NvrtcCacheKey
impl UnwindSafe for NvrtcCacheKey
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more