pub trait NSPasteboard: Sized {
Show 31 methods // Required methods unsafe fn releaseGlobally(self); unsafe fn clearContents(self) -> NSInteger; unsafe fn writeObjects(self, objects: id) -> BOOL; unsafe fn setData_forType(self, data: id, dataType: id) -> BOOL; unsafe fn setPropertyList_forType(self, plist: id, dataType: id) -> BOOL; unsafe fn setString_forType(self, string: id, dataType: id) -> BOOL; unsafe fn readObjectsForClasses_options( self, classArray: id, options: id ) -> id; unsafe fn pasteboardItems(self) -> id; unsafe fn indexOfPasteboardItem(self, pasteboardItem: id) -> NSInteger; unsafe fn dataForType(self, dataType: id) -> id; unsafe fn propertyListForType(self, dataType: id) -> id; unsafe fn stringForType(self, dataType: id) -> id; unsafe fn availableTypeFromArray(self, types: id) -> id; unsafe fn canReadItemWithDataConformingToTypes(self, types: id) -> BOOL; unsafe fn canReadObjectForClasses_options( self, classArray: id, options: id ) -> BOOL; unsafe fn types(self) -> id; unsafe fn name(self) -> id; unsafe fn changeCount(self) -> NSInteger; unsafe fn declareTypes_owner(self, newTypes: id, newOwner: id) -> NSInteger; unsafe fn addTypes_owner(self, newTypes: id, newOwner: id) -> NSInteger; unsafe fn writeFileContents(self, filename: id) -> BOOL; unsafe fn writeFileWrapper(self, wrapper: id) -> BOOL; unsafe fn readFileContentsType_toFile(self, _type: id, filename: id) -> id; unsafe fn readFileWrapper(self) -> id; // Provided methods unsafe fn generalPasteboard(_: Self) -> id { ... } unsafe fn pasteboardByFilteringData_ofType( _: Self, data: id, _type: id ) -> id { ... } unsafe fn pasteboardByFilteringFile(_: Self, file: id) -> id { ... } unsafe fn pasteboardByFilteringTypesInPasteboard(_: Self, pboard: id) -> id { ... } unsafe fn pasteboardWithName(_: Self, name: id) -> id { ... } unsafe fn pasteboardWithUniqueName(_: Self) -> id { ... } unsafe fn typesFilterableTo(_: Self, _type: id) -> id { ... }
}

Required Methods§

source

unsafe fn releaseGlobally(self)

source

unsafe fn clearContents(self) -> NSInteger

source

unsafe fn writeObjects(self, objects: id) -> BOOL

source

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

source

unsafe fn setPropertyList_forType(self, plist: id, dataType: id) -> BOOL

source

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

source

unsafe fn readObjectsForClasses_options(self, classArray: id, options: id) -> id

source

unsafe fn pasteboardItems(self) -> id

source

unsafe fn indexOfPasteboardItem(self, pasteboardItem: id) -> NSInteger

source

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

source

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

source

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

source

unsafe fn availableTypeFromArray(self, types: id) -> id

source

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

source

unsafe fn canReadObjectForClasses_options( self, classArray: id, options: id ) -> BOOL

source

unsafe fn types(self) -> id

source

unsafe fn name(self) -> id

source

unsafe fn changeCount(self) -> NSInteger

source

unsafe fn declareTypes_owner(self, newTypes: id, newOwner: id) -> NSInteger

source

unsafe fn addTypes_owner(self, newTypes: id, newOwner: id) -> NSInteger

source

unsafe fn writeFileContents(self, filename: id) -> BOOL

source

unsafe fn writeFileWrapper(self, wrapper: id) -> BOOL

source

unsafe fn readFileContentsType_toFile(self, _type: id, filename: id) -> id

source

unsafe fn readFileWrapper(self) -> id

Provided Methods§

source

unsafe fn generalPasteboard(_: Self) -> id

source

unsafe fn pasteboardByFilteringData_ofType(_: Self, data: id, _type: id) -> id

source

unsafe fn pasteboardByFilteringFile(_: Self, file: id) -> id

source

unsafe fn pasteboardByFilteringTypesInPasteboard(_: Self, pboard: id) -> id

source

unsafe fn pasteboardWithName(_: Self, name: id) -> id

source

unsafe fn pasteboardWithUniqueName(_: Self) -> id

source

unsafe fn typesFilterableTo(_: Self, _type: id) -> id

Implementors§