cobin 0.1.1

Minimalistic bindings for Metal and related Cocoa frameworks.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::{
  obj::Object,
  PrivateMarker,
  runtime::NSObjectBase
};

pub struct CALayer(PrivateMarker);

impl Object for CALayer {}
unsafe impl objc::Message for CALayer {}

impl NSObjectBase for CALayer {
  fn class_name() -> &'static str {
    "CALayer"
  }
}