[−][src]Trait cocoa::foundation::NSURL
Required methods
unsafe fn alloc(Self) -> *mut Object
unsafe fn URLWithString_(Self, string: *mut Object) -> *mut Object
unsafe fn initWithString_(self, string: *mut Object) -> *mut Object
unsafe fn URLWithString_relativeToURL_(
Self,
string: *mut Object,
url: *mut Object
) -> *mut Object
Self,
string: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn initWithString_relativeToURL_(
self,
string: *mut Object,
url: *mut Object
) -> *mut Object
self,
string: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn fileURLWithPath_isDirectory_(
Self,
path: *mut Object,
is_dir: i8
) -> *mut Object
Self,
path: *mut Object,
is_dir: i8
) -> *mut Object
unsafe fn initFileURLWithPath_isDirectory_(
self,
path: *mut Object,
is_dir: i8
) -> *mut Object
self,
path: *mut Object,
is_dir: i8
) -> *mut Object
unsafe fn fileURLWithPath_relativeToURL_(
Self,
path: *mut Object,
url: *mut Object
) -> *mut Object
Self,
path: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn initFileURLWithPath_relativeToURL_(
self,
path: *mut Object,
url: *mut Object
) -> *mut Object
self,
path: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn fileURLWithPath_isDirectory_relativeToURL_(
Self,
path: *mut Object,
is_dir: i8,
url: *mut Object
) -> *mut Object
Self,
path: *mut Object,
is_dir: i8,
url: *mut Object
) -> *mut Object
unsafe fn initFileURLWithPath_isDirectory_relativeToURL_(
self,
path: *mut Object,
is_dir: i8,
url: *mut Object
) -> *mut Object
self,
path: *mut Object,
is_dir: i8,
url: *mut Object
) -> *mut Object
unsafe fn fileURLWithPath_(Self, path: *mut Object) -> *mut Object
unsafe fn initFileURLWithPath_(self, path: *mut Object) -> *mut Object
unsafe fn fileURLWithPathComponents_(
Self,
path_components: *mut Object
) -> *mut Object
Self,
path_components: *mut Object
) -> *mut Object
unsafe fn URLByResolvingAliasFileAtURL_options_error_(
Self,
url: *mut Object,
options: NSURLBookmarkResolutionOptions,
error: *mut *mut Object
) -> *mut Object
Self,
url: *mut Object,
options: NSURLBookmarkResolutionOptions,
error: *mut *mut Object
) -> *mut Object
unsafe fn URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_(
Self,
data: *mut Object,
options: NSURLBookmarkResolutionOptions,
relative_to_url: *mut Object,
is_stale: *mut i8,
error: *mut *mut Object
) -> *mut Object
Self,
data: *mut Object,
options: NSURLBookmarkResolutionOptions,
relative_to_url: *mut Object,
is_stale: *mut i8,
error: *mut *mut Object
) -> *mut Object
unsafe fn initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_(
self,
data: *mut Object,
options: NSURLBookmarkResolutionOptions,
relative_to_url: *mut Object,
is_stale: *mut i8,
error: *mut *mut Object
) -> *mut Object
self,
data: *mut Object,
options: NSURLBookmarkResolutionOptions,
relative_to_url: *mut Object,
is_stale: *mut i8,
error: *mut *mut Object
) -> *mut Object
unsafe fn absoluteURLWithDataRepresentation_relativeToURL_(
Self,
data: *mut Object,
url: *mut Object
) -> *mut Object
Self,
data: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn initAbsoluteURLWithDataRepresentation_relativeToURL_(
self,
data: *mut Object,
url: *mut Object
) -> *mut Object
self,
data: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn URLWithDataRepresentation_relativeToURL_(
Self,
data: *mut Object,
url: *mut Object
) -> *mut Object
Self,
data: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn initWithDataRepresentation_relativeToURL_(
self,
data: *mut Object,
url: *mut Object
) -> *mut Object
self,
data: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn dataRepresentation(self) -> *mut Object
unsafe fn isEqual_(self, id: *mut Object) -> i8
unsafe fn checkResourceIsReachableAndReturnError_(
self,
error: *mut Object
) -> i8
self,
error: *mut Object
) -> i8
unsafe fn isFileReferenceURL(self) -> i8
unsafe fn isFileURL(self) -> i8
unsafe fn absoluteString(self) -> *mut Object
unsafe fn absoluteURL(self) -> *mut Object
unsafe fn baseURL(self) -> *mut Object
unsafe fn fragment(self) -> *mut Object
unsafe fn host(self) -> *mut Object
unsafe fn lastPathComponent(self) -> *mut Object
unsafe fn parameterString(self) -> *mut Object
unsafe fn password(self) -> *mut Object
unsafe fn path(self) -> *mut Object
unsafe fn pathComponents(self) -> *mut Object
unsafe fn pathExtension(self) -> *mut Object
unsafe fn port(self) -> *mut Object
unsafe fn query(self) -> *mut Object
unsafe fn relativePath(self) -> *mut Object
unsafe fn relativeString(self) -> *mut Object
unsafe fn resourceSpecifier(self) -> *mut Object
unsafe fn scheme(self) -> *mut Object
unsafe fn standardizedURL(self) -> *mut Object
unsafe fn user(self) -> *mut Object
unsafe fn NSURLResourceKey(self) -> *mut Object
unsafe fn filePathURL(self) -> *mut Object
unsafe fn fileReferenceURL(self) -> *mut Object
unsafe fn URLByAppendingPathComponent_(
self,
path_component: *mut Object
) -> *mut Object
self,
path_component: *mut Object
) -> *mut Object
unsafe fn URLByAppendingPathComponent_isDirectory_(
self,
path_component: *mut Object,
is_dir: i8
) -> *mut Object
self,
path_component: *mut Object,
is_dir: i8
) -> *mut Object
unsafe fn URLByAppendingPathExtension_(
self,
extension: *mut Object
) -> *mut Object
self,
extension: *mut Object
) -> *mut Object
unsafe fn URLByDeletingLastPathComponent(self) -> *mut Object
unsafe fn URLByDeletingPathExtension(self) -> *mut Object
unsafe fn URLByResolvingSymlinksInPath(self) -> *mut Object
unsafe fn URLByStandardizingPath(self) -> *mut Object
unsafe fn hasDirectoryPath(self) -> i8
unsafe fn bookmarkDataWithContentsOfURL_error_(
Self,
url: *mut Object,
error: *mut Object
) -> *mut Object
Self,
url: *mut Object,
error: *mut Object
) -> *mut Object
unsafe fn bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_(
self,
options: NSURLBookmarkCreationOptions,
resource_value_for_keys: *mut Object,
relative_to_url: *mut Object,
error: *mut Object
) -> *mut Object
self,
options: NSURLBookmarkCreationOptions,
resource_value_for_keys: *mut Object,
relative_to_url: *mut Object,
error: *mut Object
) -> *mut Object
unsafe fn writeBookmarkData_toURL_options_error_(
Self,
data: *mut Object,
to_url: *mut Object,
options: NSURLBookmarkCreationOptions,
error: *mut Object
) -> *mut Object
Self,
data: *mut Object,
to_url: *mut Object,
options: NSURLBookmarkCreationOptions,
error: *mut Object
) -> *mut Object
unsafe fn startAccessingSecurityScopedResource(self) -> i8
unsafe fn stopAccessingSecurityScopedResource(self)
unsafe fn NSURLBookmarkFileCreationOptions(self) -> NSURLBookmarkCreationOptions
unsafe fn NSURLBookmarkCreationOptions(self) -> NSURLBookmarkCreationOptions
unsafe fn NSURLBookmarkResolutionOptions(self) -> NSURLBookmarkResolutionOptions
Implementations on Foreign Types
impl NSURL for *mut Object[src]
unsafe fn alloc(*mut Object) -> *mut Object[src]
unsafe fn URLWithString_(*mut Object, string: *mut Object) -> *mut Object[src]
unsafe fn initWithString_(self, string: *mut Object) -> *mut Object[src]
unsafe fn URLWithString_relativeToURL_(
*mut Object,
string: *mut Object,
url: *mut Object
) -> *mut Object[src]
*mut Object,
string: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn initWithString_relativeToURL_(
self,
string: *mut Object,
url: *mut Object
) -> *mut Object[src]
self,
string: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn fileURLWithPath_isDirectory_(
*mut Object,
path: *mut Object,
is_dir: i8
) -> *mut Object[src]
*mut Object,
path: *mut Object,
is_dir: i8
) -> *mut Object
unsafe fn initFileURLWithPath_isDirectory_(
self,
path: *mut Object,
is_dir: i8
) -> *mut Object[src]
self,
path: *mut Object,
is_dir: i8
) -> *mut Object
unsafe fn fileURLWithPath_relativeToURL_(
*mut Object,
path: *mut Object,
url: *mut Object
) -> *mut Object[src]
*mut Object,
path: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn initFileURLWithPath_relativeToURL_(
self,
path: *mut Object,
url: *mut Object
) -> *mut Object[src]
self,
path: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn fileURLWithPath_isDirectory_relativeToURL_(
*mut Object,
path: *mut Object,
is_dir: i8,
url: *mut Object
) -> *mut Object[src]
*mut Object,
path: *mut Object,
is_dir: i8,
url: *mut Object
) -> *mut Object
unsafe fn initFileURLWithPath_isDirectory_relativeToURL_(
self,
path: *mut Object,
is_dir: i8,
url: *mut Object
) -> *mut Object[src]
self,
path: *mut Object,
is_dir: i8,
url: *mut Object
) -> *mut Object
unsafe fn fileURLWithPath_(*mut Object, path: *mut Object) -> *mut Object[src]
unsafe fn initFileURLWithPath_(self, path: *mut Object) -> *mut Object[src]
unsafe fn fileURLWithPathComponents_(
*mut Object,
path_components: *mut Object
) -> *mut Object[src]
*mut Object,
path_components: *mut Object
) -> *mut Object
unsafe fn URLByResolvingAliasFileAtURL_options_error_(
*mut Object,
url: *mut Object,
options: NSURLBookmarkResolutionOptions,
error: *mut *mut Object
) -> *mut Object[src]
*mut Object,
url: *mut Object,
options: NSURLBookmarkResolutionOptions,
error: *mut *mut Object
) -> *mut Object
unsafe fn URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_(
*mut Object,
data: *mut Object,
options: NSURLBookmarkResolutionOptions,
relative_to_url: *mut Object,
is_stale: *mut i8,
error: *mut *mut Object
) -> *mut Object[src]
*mut Object,
data: *mut Object,
options: NSURLBookmarkResolutionOptions,
relative_to_url: *mut Object,
is_stale: *mut i8,
error: *mut *mut Object
) -> *mut Object
unsafe fn initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_(
self,
data: *mut Object,
options: NSURLBookmarkResolutionOptions,
relative_to_url: *mut Object,
is_stale: *mut i8,
error: *mut *mut Object
) -> *mut Object[src]
self,
data: *mut Object,
options: NSURLBookmarkResolutionOptions,
relative_to_url: *mut Object,
is_stale: *mut i8,
error: *mut *mut Object
) -> *mut Object
unsafe fn absoluteURLWithDataRepresentation_relativeToURL_(
*mut Object,
data: *mut Object,
url: *mut Object
) -> *mut Object[src]
*mut Object,
data: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn initAbsoluteURLWithDataRepresentation_relativeToURL_(
self,
data: *mut Object,
url: *mut Object
) -> *mut Object[src]
self,
data: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn URLWithDataRepresentation_relativeToURL_(
*mut Object,
data: *mut Object,
url: *mut Object
) -> *mut Object[src]
*mut Object,
data: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn initWithDataRepresentation_relativeToURL_(
self,
data: *mut Object,
url: *mut Object
) -> *mut Object[src]
self,
data: *mut Object,
url: *mut Object
) -> *mut Object
unsafe fn dataRepresentation(self) -> *mut Object[src]
unsafe fn isEqual_(self, id: *mut Object) -> i8[src]
unsafe fn checkResourceIsReachableAndReturnError_(
self,
error: *mut Object
) -> i8[src]
self,
error: *mut Object
) -> i8
unsafe fn isFileReferenceURL(self) -> i8[src]
unsafe fn isFileURL(self) -> i8[src]
unsafe fn absoluteString(self) -> *mut Object[src]
unsafe fn absoluteURL(self) -> *mut Object[src]
unsafe fn baseURL(self) -> *mut Object[src]
unsafe fn fragment(self) -> *mut Object[src]
unsafe fn host(self) -> *mut Object[src]
unsafe fn lastPathComponent(self) -> *mut Object[src]
unsafe fn parameterString(self) -> *mut Object[src]
unsafe fn password(self) -> *mut Object[src]
unsafe fn path(self) -> *mut Object[src]
unsafe fn pathComponents(self) -> *mut Object[src]
unsafe fn pathExtension(self) -> *mut Object[src]
unsafe fn port(self) -> *mut Object[src]
unsafe fn query(self) -> *mut Object[src]
unsafe fn relativePath(self) -> *mut Object[src]
unsafe fn relativeString(self) -> *mut Object[src]
unsafe fn resourceSpecifier(self) -> *mut Object[src]
unsafe fn scheme(self) -> *mut Object[src]
unsafe fn standardizedURL(self) -> *mut Object[src]
unsafe fn user(self) -> *mut Object[src]
unsafe fn NSURLResourceKey(self) -> *mut Object[src]
unsafe fn filePathURL(self) -> *mut Object[src]
unsafe fn fileReferenceURL(self) -> *mut Object[src]
unsafe fn URLByAppendingPathComponent_(
self,
path_component: *mut Object
) -> *mut Object[src]
self,
path_component: *mut Object
) -> *mut Object
unsafe fn URLByAppendingPathComponent_isDirectory_(
self,
path_component: *mut Object,
is_dir: i8
) -> *mut Object[src]
self,
path_component: *mut Object,
is_dir: i8
) -> *mut Object
unsafe fn URLByAppendingPathExtension_(
self,
extension: *mut Object
) -> *mut Object[src]
self,
extension: *mut Object
) -> *mut Object
unsafe fn URLByDeletingLastPathComponent(self) -> *mut Object[src]
unsafe fn URLByDeletingPathExtension(self) -> *mut Object[src]
unsafe fn URLByResolvingSymlinksInPath(self) -> *mut Object[src]
unsafe fn URLByStandardizingPath(self) -> *mut Object[src]
unsafe fn hasDirectoryPath(self) -> i8[src]
unsafe fn bookmarkDataWithContentsOfURL_error_(
*mut Object,
url: *mut Object,
error: *mut Object
) -> *mut Object[src]
*mut Object,
url: *mut Object,
error: *mut Object
) -> *mut Object
unsafe fn bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_(
self,
options: NSURLBookmarkCreationOptions,
resource_value_for_keys: *mut Object,
relative_to_url: *mut Object,
error: *mut Object
) -> *mut Object[src]
self,
options: NSURLBookmarkCreationOptions,
resource_value_for_keys: *mut Object,
relative_to_url: *mut Object,
error: *mut Object
) -> *mut Object
unsafe fn writeBookmarkData_toURL_options_error_(
*mut Object,
data: *mut Object,
to_url: *mut Object,
options: NSURLBookmarkCreationOptions,
error: *mut Object
) -> *mut Object[src]
*mut Object,
data: *mut Object,
to_url: *mut Object,
options: NSURLBookmarkCreationOptions,
error: *mut Object
) -> *mut Object