#[repr(transparent)]pub struct LearningModelDeviceKind(pub i32);Expand description
Required features: ‘AI_MachineLearning’
Tuple Fields
0: i32Implementations
impl LearningModelDeviceKind
impl LearningModelDeviceKind
pub const Default: Self
pub const Cpu: Self
pub const DirectX: Self
pub const DirectXHighPerformance: Self
pub const DirectXMinPower: Self
Trait Implementations
impl Clone for LearningModelDeviceKind
impl Clone for LearningModelDeviceKind
impl Copy for LearningModelDeviceKind
Auto Trait Implementations
impl RefUnwindSafe for LearningModelDeviceKind
impl Send for LearningModelDeviceKind
impl Sync for LearningModelDeviceKind
impl Unpin for LearningModelDeviceKind
impl UnwindSafe for LearningModelDeviceKind
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