pub struct NativeRuntimeBackend {
pub kind: NativeRuntimeBackendKind,
pub cuda: Option<CudaRuntimeRequirements>,
pub rocm: Option<RocmRuntimeRequirements>,
pub vulkan: Option<VulkanRuntimeRequirements>,
}Fields§
§kind: NativeRuntimeBackendKind§cuda: Option<CudaRuntimeRequirements>§rocm: Option<RocmRuntimeRequirements>§vulkan: Option<VulkanRuntimeRequirements>Implementations§
Trait Implementations§
Source§impl Clone for NativeRuntimeBackend
impl Clone for NativeRuntimeBackend
Source§fn clone(&self) -> NativeRuntimeBackend
fn clone(&self) -> NativeRuntimeBackend
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 NativeRuntimeBackend
impl Debug for NativeRuntimeBackend
Source§impl<'de> Deserialize<'de> for NativeRuntimeBackend
impl<'de> Deserialize<'de> for NativeRuntimeBackend
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
impl Eq for NativeRuntimeBackend
Source§impl PartialEq for NativeRuntimeBackend
impl PartialEq for NativeRuntimeBackend
Source§impl Serialize for NativeRuntimeBackend
impl Serialize for NativeRuntimeBackend
impl StructuralPartialEq for NativeRuntimeBackend
Auto Trait Implementations§
impl Freeze for NativeRuntimeBackend
impl RefUnwindSafe for NativeRuntimeBackend
impl Send for NativeRuntimeBackend
impl Sync for NativeRuntimeBackend
impl Unpin for NativeRuntimeBackend
impl UnsafeUnpin for NativeRuntimeBackend
impl UnwindSafe for NativeRuntimeBackend
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