pub trait NSDictionary: Sized {
Show 55 methods // Required methods unsafe fn init(self) -> id; unsafe fn initWithContentsOfFile_(self, path: id) -> id; unsafe fn initWithContentsOfURL_(self, aURL: id) -> id; unsafe fn initWithDictionary_(self, otherDicitonary: id) -> id; unsafe fn initWithDictionary_copyItems_( self, otherDicitonary: id, flag: BOOL ) -> id; unsafe fn initWithObjects_forKeys_(self, objects: id, keys: id) -> id; unsafe fn initWithObjects_forKeys_count_( self, objects: id, keys: id, count: NSUInteger ) -> id; unsafe fn initWithObjectsAndKeys_(self, firstObject: id) -> id; unsafe fn count(self) -> NSUInteger; unsafe fn isEqualToDictionary_(self, otherDictionary: id) -> BOOL; unsafe fn allKeys(self) -> id; unsafe fn allKeysForObject_(self, anObject: id) -> id; unsafe fn allValues(self) -> id; unsafe fn objectForKey_(self, aKey: id) -> id; unsafe fn objectForKeyedSubscript_(self, key: id) -> id; unsafe fn objectsForKeys_notFoundMarker_(self, keys: id, anObject: id) -> id; unsafe fn valueForKey_(self, key: id) -> id; unsafe fn keyEnumerator(self) -> id; unsafe fn objectEnumerator(self) -> id; unsafe fn enumerateKeysAndObjectsUsingBlock_( self, block: *mut Block<(id, id, *mut BOOL), ()> ); unsafe fn enumerateKeysAndObjectsWithOptions_usingBlock_( self, opts: NSEnumerationOptions, block: *mut Block<(id, id, *mut BOOL), ()> ); unsafe fn keysSortedByValueUsingSelector_(self, comparator: SEL) -> id; unsafe fn keysSortedByValueUsingComparator_(self, cmptr: NSComparator) -> id; unsafe fn keysSortedByValueWithOptions_usingComparator_( self, opts: NSEnumerationOptions, cmptr: NSComparator ) -> id; unsafe fn keysOfEntriesPassingTest_( self, predicate: *mut Block<(id, id, *mut BOOL), BOOL> ) -> id; unsafe fn keysOfEntriesWithOptions_PassingTest_( self, opts: NSEnumerationOptions, predicate: *mut Block<(id, id, *mut BOOL), BOOL> ) -> id; unsafe fn writeToFile_atomically_(self, path: id, flag: BOOL) -> BOOL; unsafe fn writeToURL_atomically_(self, aURL: id, flag: BOOL) -> BOOL; unsafe fn fileCreationDate(self) -> id; unsafe fn fileExtensionHidden(self) -> BOOL; unsafe fn fileGroupOwnerAccountID(self) -> id; unsafe fn fileGroupOwnerAccountName(self) -> id; unsafe fn fileIsAppendOnly(self) -> BOOL; unsafe fn fileIsImmutable(self) -> BOOL; unsafe fn fileModificationDate(self) -> id; unsafe fn fileOwnerAccountID(self) -> id; unsafe fn fileOwnerAccountName(self) -> id; unsafe fn filePosixPermissions(self) -> NSUInteger; unsafe fn fileSize(self) -> c_ulonglong; unsafe fn fileSystemFileNumber(self) -> NSUInteger; unsafe fn fileSystemNumber(self) -> NSInteger; unsafe fn fileType(self) -> id; unsafe fn description(self) -> id; unsafe fn descriptionInStringsFileFormat(self) -> id; unsafe fn descriptionWithLocale_(self, locale: id) -> id; unsafe fn descriptionWithLocale_indent_( self, locale: id, indent: NSUInteger ) -> id; // Provided methods unsafe fn dictionary(_: Self) -> id { ... } unsafe fn dictionaryWithContentsOfFile_(_: Self, path: id) -> id { ... } unsafe fn dictionaryWithContentsOfURL_(_: Self, aURL: id) -> id { ... } unsafe fn dictionaryWithDictionary_(_: Self, otherDictionary: id) -> id { ... } unsafe fn dictionaryWithObject_forKey_( _: Self, anObject: id, aKey: id ) -> id { ... } unsafe fn dictionaryWithObjects_forKeys_( _: Self, objects: id, keys: id ) -> id { ... } unsafe fn dictionaryWithObjects_forKeys_count_( _: Self, objects: *const id, keys: *const id, count: NSUInteger ) -> id { ... } unsafe fn dictionaryWithObjectsAndKeys_(_: Self, firstObject: id) -> id { ... } unsafe fn sharedKeySetForKeys_(_: Self, keys: id) -> id { ... }
}

Required Methods§

source

unsafe fn init(self) -> id

source

unsafe fn initWithContentsOfFile_(self, path: id) -> id

source

unsafe fn initWithContentsOfURL_(self, aURL: id) -> id

source

unsafe fn initWithDictionary_(self, otherDicitonary: id) -> id

source

unsafe fn initWithDictionary_copyItems_( self, otherDicitonary: id, flag: BOOL ) -> id

source

unsafe fn initWithObjects_forKeys_(self, objects: id, keys: id) -> id

source

unsafe fn initWithObjects_forKeys_count_( self, objects: id, keys: id, count: NSUInteger ) -> id

source

unsafe fn initWithObjectsAndKeys_(self, firstObject: id) -> id

source

unsafe fn count(self) -> NSUInteger

source

unsafe fn isEqualToDictionary_(self, otherDictionary: id) -> BOOL

source

unsafe fn allKeys(self) -> id

source

unsafe fn allKeysForObject_(self, anObject: id) -> id

source

unsafe fn allValues(self) -> id

source

unsafe fn objectForKey_(self, aKey: id) -> id

source

unsafe fn objectForKeyedSubscript_(self, key: id) -> id

source

unsafe fn objectsForKeys_notFoundMarker_(self, keys: id, anObject: id) -> id

source

unsafe fn valueForKey_(self, key: id) -> id

source

unsafe fn keyEnumerator(self) -> id

source

unsafe fn objectEnumerator(self) -> id

source

unsafe fn enumerateKeysAndObjectsUsingBlock_( self, block: *mut Block<(id, id, *mut BOOL), ()> )

source

unsafe fn enumerateKeysAndObjectsWithOptions_usingBlock_( self, opts: NSEnumerationOptions, block: *mut Block<(id, id, *mut BOOL), ()> )

source

unsafe fn keysSortedByValueUsingSelector_(self, comparator: SEL) -> id

source

unsafe fn keysSortedByValueUsingComparator_(self, cmptr: NSComparator) -> id

source

unsafe fn keysSortedByValueWithOptions_usingComparator_( self, opts: NSEnumerationOptions, cmptr: NSComparator ) -> id

source

unsafe fn keysOfEntriesPassingTest_( self, predicate: *mut Block<(id, id, *mut BOOL), BOOL> ) -> id

source

unsafe fn keysOfEntriesWithOptions_PassingTest_( self, opts: NSEnumerationOptions, predicate: *mut Block<(id, id, *mut BOOL), BOOL> ) -> id

source

unsafe fn writeToFile_atomically_(self, path: id, flag: BOOL) -> BOOL

source

unsafe fn writeToURL_atomically_(self, aURL: id, flag: BOOL) -> BOOL

source

unsafe fn fileCreationDate(self) -> id

source

unsafe fn fileExtensionHidden(self) -> BOOL

source

unsafe fn fileGroupOwnerAccountID(self) -> id

source

unsafe fn fileGroupOwnerAccountName(self) -> id

source

unsafe fn fileIsAppendOnly(self) -> BOOL

source

unsafe fn fileIsImmutable(self) -> BOOL

source

unsafe fn fileModificationDate(self) -> id

source

unsafe fn fileOwnerAccountID(self) -> id

source

unsafe fn fileOwnerAccountName(self) -> id

source

unsafe fn filePosixPermissions(self) -> NSUInteger

source

unsafe fn fileSize(self) -> c_ulonglong

source

unsafe fn fileSystemFileNumber(self) -> NSUInteger

source

unsafe fn fileSystemNumber(self) -> NSInteger

source

unsafe fn fileType(self) -> id

source

unsafe fn description(self) -> id

source

unsafe fn descriptionInStringsFileFormat(self) -> id

source

unsafe fn descriptionWithLocale_(self, locale: id) -> id

source

unsafe fn descriptionWithLocale_indent_( self, locale: id, indent: NSUInteger ) -> id

Provided Methods§

source

unsafe fn dictionary(_: Self) -> id

source

unsafe fn dictionaryWithContentsOfFile_(_: Self, path: id) -> id

source

unsafe fn dictionaryWithContentsOfURL_(_: Self, aURL: id) -> id

source

unsafe fn dictionaryWithDictionary_(_: Self, otherDictionary: id) -> id

source

unsafe fn dictionaryWithObject_forKey_(_: Self, anObject: id, aKey: id) -> id

source

unsafe fn dictionaryWithObjects_forKeys_(_: Self, objects: id, keys: id) -> id

source

unsafe fn dictionaryWithObjects_forKeys_count_( _: Self, objects: *const id, keys: *const id, count: NSUInteger ) -> id

source

unsafe fn dictionaryWithObjectsAndKeys_(_: Self, firstObject: id) -> id

source

unsafe fn sharedKeySetForKeys_(_: Self, keys: id) -> id

Implementors§