objc2_core_ml/generated/
MLComputeDeviceProtocol.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use objc2::__framework_prelude::*;
4
5use crate::*;
6
7extern_protocol!(
8    /// Protocol for representing a compute device. The represented device
9    /// is capable of running machine learning computations and other tasks like
10    /// analysis and processing of images, sound, etc.
11    ///
12    /// See also [Apple's documentation](https://developer.apple.com/documentation/coreml/mlcomputedeviceprotocol?language=objc)
13    pub unsafe trait MLComputeDeviceProtocol: NSObjectProtocol {}
14);