cidre 0.15.2

Apple frameworks bindings for rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::{arc, define_obj_type, ml, ns, objc};

define_obj_type!(
    #[doc(alias = "MLStateConstraint")]
    pub StateConstraint(ns::Id)
);

impl StateConstraint {
    #[objc::msg_send(bufferShape)]
    pub fn buffer_shape(&self) -> arc::R<ns::Array<ns::Number>>;

    #[objc::msg_send(dataType)]
    pub fn data_type(&self) -> ml::MultiArrayDType;
}