Trait MLComputeDeviceProtocol

Source
pub unsafe trait MLComputeDeviceProtocol: NSObjectProtocol { }
Available on crate feature MLComputeDeviceProtocol only.
Expand description

Protocol for representing a compute device. The represented device is capable of running machine learning computations and other tasks like analysis and processing of images, sound, etc.

See also Apple’s documentation

Trait Implementations§

Source§

impl ProtocolType for dyn MLComputeDeviceProtocol

Source§

const NAME: &'static str = "MLComputeDeviceProtocol"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn MLComputeDeviceProtocol

Implementations on Foreign Types§

Source§

impl<T> MLComputeDeviceProtocol for ProtocolObject<T>

Implementors§

Source§

impl MLComputeDeviceProtocol for MLCPUComputeDevice

Available on crate feature MLCPUComputeDevice only.
Source§

impl MLComputeDeviceProtocol for MLGPUComputeDevice

Available on crate feature MLGPUComputeDevice only.
Source§

impl MLComputeDeviceProtocol for MLNeuralEngineComputeDevice

Available on crate feature MLNeuralEngineComputeDevice only.