#[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
pub const LearningDeviceCpu: Self
pub const LearningDeviceGpu: Self
pub const LearningDeviceNpu: Self
pub const LearningDeviceDsp: Self
pub const LearningDeviceFpga: Self
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more