pub struct ClassInfo {
pub name: String,
pub arch: String,
pub inherits: Option<String>,
pub defines: BTreeSet<String>,
pub defaults: BTreeMap<String, String>,
pub tensor_core: Option<TcPolicy>,
}Expand description
2026-09-30: What one HARDWARE.toml says about the class.
Fields§
§name: String2026-09-30: Directory name.
arch: String2026-09-30: [hardware] arch.
inherits: Option<String>2026-09-30: [hardware] inherits.
defines: BTreeSet<String>2026-09-30: Macros [build] extra_nvcc_flags defines (-DNAME).
defaults: BTreeMap<String, String>2026-09-30: [defaults], values as text.
tensor_core: Option<TcPolicy>2026-10-02: [tensor_core_policy] (super::tc_policy); None when the class states none.
Trait Implementations§
impl Eq for ClassInfo
impl StructuralPartialEq for ClassInfo
Auto Trait Implementations§
impl Freeze for ClassInfo
impl RefUnwindSafe for ClassInfo
impl Send for ClassInfo
impl Sync for ClassInfo
impl Unpin for ClassInfo
impl UnwindSafe for ClassInfo
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.