pub enum Vendor {
Nvidia,
Amd,
Apple,
Intel,
}Expand description
2026-09-25: Vendor identifier parsed from a HARDWARE.toml vendor string.
Variants§
Nvidia
2026-09-25: nvidia or cuda; NvidiaTarget compiles for it.
Amd
2026-09-25: amd, rocm or hip; no target in this module.
Apple
2026-09-25: apple or metal; no target in this module.
Intel
2026-09-25: intel, oneapi or sycl; no target in this module.
Implementations§
Trait Implementations§
impl Copy for Vendor
impl Eq for Vendor
impl StructuralPartialEq for Vendor
Auto Trait Implementations§
impl Freeze for Vendor
impl RefUnwindSafe for Vendor
impl Send for Vendor
impl Sync for Vendor
impl Unpin for Vendor
impl UnwindSafe for Vendor
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.