pub enum GpuBackendType {
Metal,
Cuda,
Cpu,
}
Expand description
Available GPU backend types
Variants§
Trait Implementations§
Source§impl Clone for GpuBackendType
impl Clone for GpuBackendType
Source§fn clone(&self) -> GpuBackendType
fn clone(&self) -> GpuBackendType
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 GpuBackendType
impl Debug for GpuBackendType
Source§impl Display for GpuBackendType
impl Display for GpuBackendType
Source§impl PartialEq for GpuBackendType
impl PartialEq for GpuBackendType
impl Copy for GpuBackendType
impl Eq for GpuBackendType
impl StructuralPartialEq for GpuBackendType
Auto Trait Implementations§
impl Freeze for GpuBackendType
impl RefUnwindSafe for GpuBackendType
impl Send for GpuBackendType
impl Sync for GpuBackendType
impl Unpin for GpuBackendType
impl UnwindSafe for GpuBackendType
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