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