pub trait NSPasteboardItem: Sized {
    // Required methods
    unsafe fn types(self) -> id;
    unsafe fn setDataProvider_forTypes(
        self,
        dataProvider: id,
        types: id
    ) -> BOOL;
    unsafe fn setData_forType(self, data: id, _type: id) -> BOOL;
    unsafe fn setString_forType(self, string: id, _type: id) -> BOOL;
    unsafe fn setPropertyList_forType(self, propertyList: id, _type: id) -> BOOL;
    unsafe fn dataForType(self, _type: id) -> id;
    unsafe fn stringForType(self, _type: id) -> id;
    unsafe fn propertyListForType(self, _type: id) -> id;
}

Required Methods§

source

unsafe fn types(self) -> id

source

unsafe fn setDataProvider_forTypes(self, dataProvider: id, types: id) -> BOOL

source

unsafe fn setData_forType(self, data: id, _type: id) -> BOOL

source

unsafe fn setString_forType(self, string: id, _type: id) -> BOOL

source

unsafe fn setPropertyList_forType(self, propertyList: id, _type: id) -> BOOL

source

unsafe fn dataForType(self, _type: id) -> id

source

unsafe fn stringForType(self, _type: id) -> id

source

unsafe fn propertyListForType(self, _type: id) -> id

Implementors§