☰
id
Trait Implementations
NSArray
NSAutoreleasePool
NSBundle
NSData
NSDate
NSDictionary
NSFastEnumeration
NSProcessInfo
NSRunLoop
NSString
NSURL
NSUserDefaults
NSValue
In cocoa_foundation::base
?
Type Definition
cocoa_foundation
::
base
::
id
source
·
[
−
]
pub type id =
*mut
Object
;
Trait Implementations
§
source
§
impl
NSArray
for
id
source
§
unsafe fn
init
(self) ->
id
source
§
unsafe fn
count
(self) ->
NSUInteger
source
§
unsafe fn
arrayByAddingObjectFromArray
(self, object:
id
) ->
id
source
§
unsafe fn
arrayByAddingObjectsFromArray
(self, objects:
id
) ->
id
source
§
unsafe fn
objectAtIndex
(self, index:
NSUInteger
) ->
id
source
§
unsafe fn
array
(_: Self) ->
id
source
§
unsafe fn
arrayWithObjects
(_: Self, objects: &[
id
]) ->
id
source
§
unsafe fn
arrayWithObject
(_: Self, object:
id
) ->
id
source
§
impl
NSAutoreleasePool
for
id
source
§
unsafe fn
autorelease
(self) ->
id
source
§
unsafe fn
drain
(self)
source
§
unsafe fn
new
(_: Self) ->
id
source
§
impl
NSBundle
for
id
source
§
unsafe fn
mainBundle
() ->
id
source
§
unsafe fn
loadNibNamed_owner_topLevelObjects_
( self, name:
id
, owner:
id
, topLevelObjects:
*mut
id
) ->
BOOL
source
§
unsafe fn
bundleIdentifier
(self) ->
id
source
§
unsafe fn
resourcePath
(self) ->
id
source
§
impl
NSData
for
id
source
§
unsafe fn
initWithBase64EncodedData_options_
( self, base64Data:
id
, options:
NSDataBase64DecodingOptions
) ->
id
source
§
unsafe fn
initWithBase64EncodedString_options_
( self, base64String:
id
, options:
NSDataBase64DecodingOptions
) ->
id
source
§
unsafe fn
initWithBytes_length_
( self, bytes:
*const
c_void
, length:
NSUInteger
) ->
id
source
§
unsafe fn
initWithBytesNoCopy_length_
( self, bytes:
*const
c_void
, length:
NSUInteger
) ->
id
source
§
unsafe fn
initWithBytesNoCopy_length_deallocator_
( self, bytes:
*const
c_void
, length:
NSUInteger
, deallocator:
*mut
Block
<(
*const
c_void
,
NSUInteger
),
()
> ) ->
id
source
§
unsafe fn
initWithBytesNoCopy_length_freeWhenDone_
( self, bytes:
*const
c_void
, length:
NSUInteger
, freeWhenDone:
BOOL
) ->
id
source
§
unsafe fn
initWithContentsOfFile_
(self, path:
id
) ->
id
source
§
unsafe fn
initWithContentsOfFile_options_error
( self, path:
id
, mask:
NSDataReadingOptions
, errorPtr:
*mut
id
) ->
id
source
§
unsafe fn
initWithContentsOfURL_
(self, aURL:
id
) ->
id
source
§
unsafe fn
initWithContentsOfURL_options_error_
( self, aURL:
id
, mask:
NSDataReadingOptions
, errorPtr:
*mut
id
) ->
id
source
§
unsafe fn
initWithData_
(self, data:
id
) ->
id
source
§
unsafe fn
bytes
(self) ->
*const
c_void
source
§
unsafe fn
description
(self) ->
id
source
§
unsafe fn
enumerateByteRangesUsingBlock_
( self, block:
*mut
Block
<(
*const
c_void
,
NSRange
,
*mut
BOOL
),
()
> )
source
§
unsafe fn
getBytes_length_
(self, buffer:
*mut
c_void
, length:
NSUInteger
)
source
§
unsafe fn
getBytes_range_
(self, buffer:
*mut
c_void
, range:
NSRange
)
source
§
unsafe fn
subdataWithRange_
(self, range:
NSRange
) ->
id
source
§
unsafe fn
rangeOfData_options_range_
( self, dataToFind:
id
, options:
NSDataSearchOptions
, searchRange:
NSRange
) ->
NSRange
source
§
unsafe fn
base64EncodedDataWithOptions_
( self, options:
NSDataBase64EncodingOptions
) ->
id
source
§
unsafe fn
base64EncodedStringWithOptions_
( self, options:
NSDataBase64EncodingOptions
) ->
id
source
§
unsafe fn
isEqualToData_
(self, otherData:
id
) ->
id
source
§
unsafe fn
length
(self) ->
NSUInteger
source
§
unsafe fn
writeToFile_atomically_
(self, path:
id
, atomically:
BOOL
) ->
BOOL
source
§
unsafe fn
writeToFile_options_error_
( self, path:
id
, mask:
NSDataWritingOptions
, errorPtr:
*mut
id
) ->
BOOL
source
§
unsafe fn
writeToURL_atomically_
(self, aURL:
id
, atomically:
BOOL
) ->
BOOL
source
§
unsafe fn
writeToURL_options_error_
( self, aURL:
id
, mask:
NSDataWritingOptions
, errorPtr:
*mut
id
) ->
BOOL
source
§
unsafe fn
data
(_: Self) ->
id
source
§
unsafe fn
dataWithBytes_length_
( _: Self, bytes:
*const
c_void
, length:
NSUInteger
) ->
id
source
§
unsafe fn
dataWithBytesNoCopy_length_
( _: Self, bytes:
*const
c_void
, length:
NSUInteger
) ->
id
source
§
unsafe fn
dataWithBytesNoCopy_length_freeWhenDone_
( _: Self, bytes:
*const
c_void
, length:
NSUInteger
, freeWhenDone:
BOOL
) ->
id
source
§
unsafe fn
dataWithContentsOfFile_
(_: Self, path:
id
) ->
id
source
§
unsafe fn
dataWithContentsOfFile_options_error_
( _: Self, path:
id
, mask:
NSDataReadingOptions
, errorPtr:
*mut
id
) ->
id
source
§
unsafe fn
dataWithContentsOfURL_
(_: Self, aURL:
id
) ->
id
source
§
unsafe fn
dataWithContentsOfURL_options_error_
( _: Self, aURL:
id
, mask:
NSDataReadingOptions
, errorPtr:
*mut
id
) ->
id
source
§
unsafe fn
dataWithData_
(_: Self, aData:
id
) ->
id
source
§
impl
NSDate
for
id
source
§
unsafe fn
distantPast
(_: Self) ->
id
source
§
unsafe fn
distantFuture
(_: Self) ->
id
source
§
impl
NSDictionary
for
id
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, otherDictionary:
id
) ->
id
source
§
unsafe fn
initWithDictionary_copyItems_
( self, otherDictionary:
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
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
source
§
impl
NSFastEnumeration
for
id
source
§
unsafe fn
iter
(self) ->
NSFastIterator
ⓘ
source
§
impl
NSProcessInfo
for
id
source
§
unsafe fn
processName
(self) ->
id
source
§
unsafe fn
systemUptime
(self) ->
NSTimeInterval
source
§
unsafe fn
operatingSystemVersion
(self) ->
NSOperatingSystemVersion
source
§
unsafe fn
isOperatingSystemAtLeastVersion
( self, version:
NSOperatingSystemVersion
) ->
bool
source
§
unsafe fn
processInfo
(_: Self) ->
id
source
§
impl
NSRunLoop
for
id
source
§
unsafe fn
currentRunLoop
() ->
id
source
§
unsafe fn
performSelector_target_argument_order_modes_
( self, aSelector:
SEL
, target:
id
, anArgument:
id
, order:
NSUInteger
, modes:
id
)
source
§
impl
NSString
for
id
source
§
unsafe fn
isEqualToString
(self, other: &
str
) ->
bool
source
§
unsafe fn
stringByAppendingString_
(self, other:
id
) ->
id
source
§
unsafe fn
init_str
(self, string: &
str
) ->
id
source
§
unsafe fn
len
(self) ->
usize
source
§
unsafe fn
UTF8String
(self) ->
*const
c_char
source
§
unsafe fn
substringWithRange
(self, range:
NSRange
) ->
id
source
§
unsafe fn
alloc
(_: Self) ->
id
source
§
impl
NSURL
for
id
source
§
unsafe fn
alloc
(_: Self) ->
id
source
§
unsafe fn
URLWithString_
(_: Self, string:
id
) ->
id
source
§
unsafe fn
initWithString_
(self, string:
id
) ->
id
source
§
unsafe fn
URLWithString_relativeToURL_
(_: Self, string:
id
, url:
id
) ->
id
source
§
unsafe fn
initWithString_relativeToURL_
(self, string:
id
, url:
id
) ->
id
source
§
unsafe fn
fileURLWithPath_isDirectory_
(_: Self, path:
id
, is_dir:
BOOL
) ->
id
source
§
unsafe fn
initFileURLWithPath_isDirectory_
(self, path:
id
, is_dir:
BOOL
) ->
id
source
§
unsafe fn
fileURLWithPath_relativeToURL_
(_: Self, path:
id
, url:
id
) ->
id
source
§
unsafe fn
initFileURLWithPath_relativeToURL_
(self, path:
id
, url:
id
) ->
id
source
§
unsafe fn
fileURLWithPath_isDirectory_relativeToURL_
( _: Self, path:
id
, is_dir:
BOOL
, url:
id
) ->
id
source
§
unsafe fn
initFileURLWithPath_isDirectory_relativeToURL_
( self, path:
id
, is_dir:
BOOL
, url:
id
) ->
id
source
§
unsafe fn
fileURLWithPath_
(_: Self, path:
id
) ->
id
source
§
unsafe fn
initFileURLWithPath_
(self, path:
id
) ->
id
source
§
unsafe fn
fileURLWithPathComponents_
(_: Self, path_components:
id
) ->
id
source
§
unsafe fn
URLByResolvingAliasFileAtURL_options_error_
( _: Self, url:
id
, options:
NSURLBookmarkResolutionOptions
, error:
*mut
id
) ->
id
source
§
unsafe fn
URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_
( _: Self, data:
id
, options:
NSURLBookmarkResolutionOptions
, relative_to_url:
id
, is_stale:
*mut
BOOL
, error:
*mut
id
) ->
id
source
§
unsafe fn
initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_
( self, data:
id
, options:
NSURLBookmarkResolutionOptions
, relative_to_url:
id
, is_stale:
*mut
BOOL
, error:
*mut
id
) ->
id
source
§
unsafe fn
absoluteURLWithDataRepresentation_relativeToURL_
( _: Self, data:
id
, url:
id
) ->
id
source
§
unsafe fn
initAbsoluteURLWithDataRepresentation_relativeToURL_
( self, data:
id
, url:
id
) ->
id
source
§
unsafe fn
URLWithDataRepresentation_relativeToURL_
( _: Self, data:
id
, url:
id
) ->
id
source
§
unsafe fn
initWithDataRepresentation_relativeToURL_
( self, data:
id
, url:
id
) ->
id
source
§
unsafe fn
dataRepresentation
(self) ->
id
source
§
unsafe fn
isEqual_
(self, id:
id
) ->
BOOL
source
§
unsafe fn
checkResourceIsReachableAndReturnError_
(self, error:
id
) ->
BOOL
source
§
unsafe fn
isFileReferenceURL
(self) ->
BOOL
source
§
unsafe fn
isFileURL
(self) ->
BOOL
source
§
unsafe fn
absoluteString
(self) ->
id
source
§
unsafe fn
absoluteURL
(self) ->
id
source
§
unsafe fn
baseURL
(self) ->
id
source
§
unsafe fn
fragment
(self) ->
id
source
§
unsafe fn
host
(self) ->
id
source
§
unsafe fn
lastPathComponent
(self) ->
id
source
§
unsafe fn
parameterString
(self) ->
id
source
§
unsafe fn
password
(self) ->
id
source
§
unsafe fn
path
(self) ->
id
source
§
unsafe fn
pathComponents
(self) ->
id
source
§
unsafe fn
pathExtension
(self) ->
id
source
§
unsafe fn
port
(self) ->
id
source
§
unsafe fn
query
(self) ->
id
source
§
unsafe fn
relativePath
(self) ->
id
source
§
unsafe fn
relativeString
(self) ->
id
source
§
unsafe fn
resourceSpecifier
(self) ->
id
source
§
unsafe fn
scheme
(self) ->
id
source
§
unsafe fn
standardizedURL
(self) ->
id
source
§
unsafe fn
user
(self) ->
id
source
§
unsafe fn
NSURLResourceKey
(self) ->
id
source
§
unsafe fn
filePathURL
(self) ->
id
source
§
unsafe fn
fileReferenceURL
(self) ->
id
source
§
unsafe fn
URLByAppendingPathComponent_
(self, path_component:
id
) ->
id
source
§
unsafe fn
URLByAppendingPathComponent_isDirectory_
( self, path_component:
id
, is_dir:
BOOL
) ->
id
source
§
unsafe fn
URLByAppendingPathExtension_
(self, extension:
id
) ->
id
source
§
unsafe fn
URLByDeletingLastPathComponent
(self) ->
id
source
§
unsafe fn
URLByDeletingPathExtension
(self) ->
id
source
§
unsafe fn
URLByResolvingSymlinksInPath
(self) ->
id
source
§
unsafe fn
URLByStandardizingPath
(self) ->
id
source
§
unsafe fn
hasDirectoryPath
(self) ->
BOOL
source
§
unsafe fn
bookmarkDataWithContentsOfURL_error_
( _: Self, url:
id
, error:
id
) ->
id
source
§
unsafe fn
bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_
( self, options:
NSURLBookmarkCreationOptions
, resource_value_for_keys:
id
, relative_to_url:
id
, error:
id
) ->
id
source
§
unsafe fn
writeBookmarkData_toURL_options_error_
( _: Self, data:
id
, to_url:
id
, options:
NSURLBookmarkFileCreationOptions
, error:
id
) ->
id
source
§
unsafe fn
startAccessingSecurityScopedResource
(self) ->
BOOL
source
§
unsafe fn
stopAccessingSecurityScopedResource
(self)
source
§
unsafe fn
NSURLBookmarkFileCreationOptions
( self ) ->
NSURLBookmarkFileCreationOptions
source
§
unsafe fn
NSURLBookmarkCreationOptions
(self) ->
NSURLBookmarkCreationOptions
source
§
unsafe fn
NSURLBookmarkResolutionOptions
(self) ->
NSURLBookmarkResolutionOptions
source
§
impl
NSUserDefaults
for
id
source
§
unsafe fn
standardUserDefaults
() ->
id
source
§
unsafe fn
setBool_forKey_
(self, value:
BOOL
, key:
id
)
source
§
unsafe fn
bool_forKey_
(self, key:
id
) ->
BOOL
source
§
unsafe fn
removeObject_forKey_
(self, key:
id
)
source
§
impl
NSValue
for
id
source
§
unsafe fn
valueWithPoint
(_: Self, point:
NSPoint
) ->
id
source
§
unsafe fn
valueWithSize
(_: Self, size:
NSSize
) ->
id