#[repr(transparent)]pub struct LearningModelDeviceKind(pub i32);
Expand description
Required features: "AI_MachineLearning"
Tuple Fields
0: i32
Implementations
impl LearningModelDeviceKind
impl LearningModelDeviceKind
pub const Default: Self = Self(0i32)
pub const Cpu: Self = Self(1i32)
pub const DirectX: Self = Self(2i32)
pub const DirectXHighPerformance: Self = Self(3i32)
pub const DirectXMinPower: Self = Self(4i32)
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more