Enum furiosa_device::DeviceMode
source · pub enum DeviceMode {
Single,
Fusion,
MultiCore,
}
Expand description
Enum for NPU’s operating mode.
Variants§
Trait Implementations§
source§impl Clone for DeviceMode
impl Clone for DeviceMode
source§fn clone(&self) -> DeviceMode
fn clone(&self) -> DeviceMode
Returns a copy 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 DeviceMode
impl Debug for DeviceMode
source§impl From<NotDetermined> for DeviceMode
impl From<NotDetermined> for DeviceMode
source§fn from(_: NotDetermined) -> Self
fn from(_: NotDetermined) -> Self
Converts to this type from the input type.
source§impl FromStr for DeviceMode
impl FromStr for DeviceMode
source§impl Hash for DeviceMode
impl Hash for DeviceMode
source§impl PartialEq<DeviceMode> for DeviceMode
impl PartialEq<DeviceMode> for DeviceMode
source§fn eq(&self, other: &DeviceMode) -> bool
fn eq(&self, other: &DeviceMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DeviceMode
impl Eq for DeviceMode
impl StructuralEq for DeviceMode
impl StructuralPartialEq for DeviceMode
Auto Trait Implementations§
impl RefUnwindSafe for DeviceMode
impl Send for DeviceMode
impl Sync for DeviceMode
impl Unpin for DeviceMode
impl UnwindSafe for DeviceMode
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