objc2_core_ml/generated/MLWritable.rs
1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_protocol!(
10 /// [Apple's documentation](https://developer.apple.com/documentation/coreml/mlwritable?language=objc)
11 pub unsafe trait MLWritable: NSObjectProtocol {
12 #[unsafe(method(writeToURL:error:_))]
13 #[unsafe(method_family = none)]
14 unsafe fn writeToURL_error(&self, url: &NSURL) -> Result<(), Retained<NSError>>;
15 }
16);