1 2 3 4 5 6 7 8 9 10 11 12
use crate::{ object, objective_c_runtime::{macros::interface_impl, traits::PNSObject}, }; object! { /// An encapsulation of all the details of your machine learning model. unsafe pub struct MLModel; } #[interface_impl(NSObject)] impl MLModel {}