pub enum KernelBackendType {
Cpu,
Cuda,
Rocm,
}Variants§
Trait Implementations§
Source§impl Clone for KernelBackendType
impl Clone for KernelBackendType
Source§fn clone(&self) -> KernelBackendType
fn clone(&self) -> KernelBackendType
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 KernelBackendType
impl Debug for KernelBackendType
Source§impl PartialEq for KernelBackendType
impl PartialEq for KernelBackendType
impl Copy for KernelBackendType
impl Eq for KernelBackendType
impl StructuralPartialEq for KernelBackendType
Auto Trait Implementations§
impl Freeze for KernelBackendType
impl RefUnwindSafe for KernelBackendType
impl Send for KernelBackendType
impl Sync for KernelBackendType
impl Unpin for KernelBackendType
impl UnsafeUnpin for KernelBackendType
impl UnwindSafe for KernelBackendType
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