objc2-core-ml 0.3.2

Bindings to the CoreML framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;

use crate::*;

extern_protocol!(
    /// [Apple's documentation](https://developer.apple.com/documentation/coreml/mlwritable?language=objc)
    pub unsafe trait MLWritable: NSObjectProtocol {
        #[unsafe(method(writeToURL:error:_))]
        #[unsafe(method_family = none)]
        unsafe fn writeToURL_error(&self, url: &NSURL) -> Result<(), Retained<NSError>>;
    }
);