#[repr(transparent)]pub struct LearningModelDeviceKindPreview(pub i32);
Expand description
Required features: "AI_MachineLearning_Preview"
, "deprecated"
Tuple Fields
0: i32
Implementations
impl LearningModelDeviceKindPreview
impl LearningModelDeviceKindPreview
pub const LearningDeviceAny: Self = Self(0i32)
pub const LearningDeviceCpu: Self = Self(1i32)
pub const LearningDeviceGpu: Self = Self(2i32)
pub const LearningDeviceNpu: Self = Self(3i32)
pub const LearningDeviceDsp: Self = Self(4i32)
pub const LearningDeviceFpga: Self = Self(5i32)
Trait Implementations
impl Clone for LearningModelDeviceKindPreview
impl Clone for LearningModelDeviceKindPreview
impl Copy for LearningModelDeviceKindPreview
Auto Trait Implementations
impl RefUnwindSafe for LearningModelDeviceKindPreview
impl Send for LearningModelDeviceKindPreview
impl Sync for LearningModelDeviceKindPreview
impl Unpin for LearningModelDeviceKindPreview
impl UnwindSafe for LearningModelDeviceKindPreview
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more