pub enum NativeRuntimeBackendKind {
Cpu,
Metal,
Cuda,
Rocm,
Vulkan,
Other(String),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NativeRuntimeBackendKind
impl Clone for NativeRuntimeBackendKind
Source§fn clone(&self) -> NativeRuntimeBackendKind
fn clone(&self) -> NativeRuntimeBackendKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NativeRuntimeBackendKind
impl Debug for NativeRuntimeBackendKind
Source§impl<'de> Deserialize<'de> for NativeRuntimeBackendKind
impl<'de> Deserialize<'de> for NativeRuntimeBackendKind
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NativeRuntimeBackendKind
impl Display for NativeRuntimeBackendKind
impl Eq for NativeRuntimeBackendKind
Source§impl From<&str> for NativeRuntimeBackendKind
impl From<&str> for NativeRuntimeBackendKind
Source§impl FromStr for NativeRuntimeBackendKind
impl FromStr for NativeRuntimeBackendKind
Source§impl Hash for NativeRuntimeBackendKind
impl Hash for NativeRuntimeBackendKind
Source§impl Ord for NativeRuntimeBackendKind
impl Ord for NativeRuntimeBackendKind
Source§fn cmp(&self, other: &NativeRuntimeBackendKind) -> Ordering
fn cmp(&self, other: &NativeRuntimeBackendKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NativeRuntimeBackendKind
impl PartialEq for NativeRuntimeBackendKind
Source§impl PartialOrd for NativeRuntimeBackendKind
impl PartialOrd for NativeRuntimeBackendKind
Source§impl Serialize for NativeRuntimeBackendKind
impl Serialize for NativeRuntimeBackendKind
impl StructuralPartialEq for NativeRuntimeBackendKind
Auto Trait Implementations§
impl Freeze for NativeRuntimeBackendKind
impl RefUnwindSafe for NativeRuntimeBackendKind
impl Send for NativeRuntimeBackendKind
impl Sync for NativeRuntimeBackendKind
impl Unpin for NativeRuntimeBackendKind
impl UnsafeUnpin for NativeRuntimeBackendKind
impl UnwindSafe for NativeRuntimeBackendKind
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