icrate 0.0.1

Bindings to Apple's frameworks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use crate::common::*;
use crate::AppKit::*;
use crate::CoreData::*;
use crate::Foundation::*;

extern_methods!(
    /// NSExtensions
    unsafe impl NSFileWrapper {
        #[method_id(@__retain_semantics Other icon)]
        pub unsafe fn icon(&self) -> Option<Id<NSImage, Shared>>;

        #[method(setIcon:)]
        pub unsafe fn setIcon(&self, icon: Option<&NSImage>);
    }
);