pub enum LlamaBackendDeviceType {
Cpu,
Accelerator,
Gpu,
IntegratedGpu,
Unknown,
}Expand description
Backend device type
Variants§
Cpu
CPU device
Accelerator
ACCEL device
Gpu
GPU device
IntegratedGpu
iGPU device
Unknown
Unknown device type
Trait Implementations§
Source§impl Clone for LlamaBackendDeviceType
impl Clone for LlamaBackendDeviceType
Source§fn clone(&self) -> LlamaBackendDeviceType
fn clone(&self) -> LlamaBackendDeviceType
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 LlamaBackendDeviceType
impl Debug for LlamaBackendDeviceType
Source§impl PartialEq for LlamaBackendDeviceType
impl PartialEq for LlamaBackendDeviceType
impl Copy for LlamaBackendDeviceType
impl Eq for LlamaBackendDeviceType
impl StructuralPartialEq for LlamaBackendDeviceType
Auto Trait Implementations§
impl Freeze for LlamaBackendDeviceType
impl RefUnwindSafe for LlamaBackendDeviceType
impl Send for LlamaBackendDeviceType
impl Sync for LlamaBackendDeviceType
impl Unpin for LlamaBackendDeviceType
impl UnwindSafe for LlamaBackendDeviceType
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