pub trait NSURL: Sized {
Show 64 methods // Required methods unsafe fn alloc(_: Self) -> id; unsafe fn URLWithString_(_: Self, string: id) -> id; unsafe fn initWithString_(self, string: id) -> id; unsafe fn URLWithString_relativeToURL_(_: Self, string: id, url: id) -> id; unsafe fn initWithString_relativeToURL_(self, string: id, url: id) -> id; unsafe fn fileURLWithPath_isDirectory_( _: Self, path: id, is_dir: BOOL ) -> id; unsafe fn initFileURLWithPath_isDirectory_( self, path: id, is_dir: BOOL ) -> id; unsafe fn fileURLWithPath_relativeToURL_(_: Self, path: id, url: id) -> id; unsafe fn initFileURLWithPath_relativeToURL_(self, path: id, url: id) -> id; unsafe fn fileURLWithPath_isDirectory_relativeToURL_( _: Self, path: id, is_dir: BOOL, url: id ) -> id; unsafe fn initFileURLWithPath_isDirectory_relativeToURL_( self, path: id, is_dir: BOOL, url: id ) -> id; unsafe fn fileURLWithPath_(_: Self, path: id) -> id; unsafe fn initFileURLWithPath_(self, path: id) -> id; unsafe fn fileURLWithPathComponents_(_: Self, path_components: id) -> id; unsafe fn URLByResolvingAliasFileAtURL_options_error_( _: Self, url: id, options: NSURLBookmarkResolutionOptions, error: *mut id ) -> id; unsafe fn URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( _: Self, data: id, options: NSURLBookmarkResolutionOptions, relative_to_url: id, is_stale: *mut BOOL, error: *mut id ) -> id; unsafe fn initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( self, data: id, options: NSURLBookmarkResolutionOptions, relative_to_url: id, is_stale: *mut BOOL, error: *mut id ) -> id; unsafe fn absoluteURLWithDataRepresentation_relativeToURL_( _: Self, data: id, url: id ) -> id; unsafe fn initAbsoluteURLWithDataRepresentation_relativeToURL_( self, data: id, url: id ) -> id; unsafe fn URLWithDataRepresentation_relativeToURL_( _: Self, data: id, url: id ) -> id; unsafe fn initWithDataRepresentation_relativeToURL_( self, data: id, url: id ) -> id; unsafe fn dataRepresentation(self) -> id; unsafe fn isEqual_(self, id: id) -> BOOL; unsafe fn checkResourceIsReachableAndReturnError_(self, error: id) -> BOOL; unsafe fn isFileReferenceURL(self) -> BOOL; unsafe fn isFileURL(self) -> BOOL; unsafe fn absoluteString(self) -> id; unsafe fn absoluteURL(self) -> id; unsafe fn baseURL(self) -> id; unsafe fn fragment(self) -> id; unsafe fn host(self) -> id; unsafe fn lastPathComponent(self) -> id; unsafe fn parameterString(self) -> id; unsafe fn password(self) -> id; unsafe fn path(self) -> id; unsafe fn pathComponents(self) -> id; unsafe fn pathExtension(self) -> id; unsafe fn port(self) -> id; unsafe fn query(self) -> id; unsafe fn relativePath(self) -> id; unsafe fn relativeString(self) -> id; unsafe fn resourceSpecifier(self) -> id; unsafe fn scheme(self) -> id; unsafe fn standardizedURL(self) -> id; unsafe fn user(self) -> id; unsafe fn NSURLResourceKey(self) -> id; unsafe fn filePathURL(self) -> id; unsafe fn fileReferenceURL(self) -> id; unsafe fn URLByAppendingPathComponent_(self, path_component: id) -> id; unsafe fn URLByAppendingPathComponent_isDirectory_( self, path_component: id, is_dir: BOOL ) -> id; unsafe fn URLByAppendingPathExtension_(self, extension: id) -> id; unsafe fn URLByDeletingLastPathComponent(self) -> id; unsafe fn URLByDeletingPathExtension(self) -> id; unsafe fn URLByResolvingSymlinksInPath(self) -> id; unsafe fn URLByStandardizingPath(self) -> id; unsafe fn hasDirectoryPath(self) -> BOOL; unsafe fn bookmarkDataWithContentsOfURL_error_( _: Self, url: id, error: id ) -> id; unsafe fn bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( self, options: NSURLBookmarkCreationOptions, resource_value_for_keys: id, relative_to_url: id, error: id ) -> id; unsafe fn writeBookmarkData_toURL_options_error_( _: Self, data: id, to_url: id, options: NSURLBookmarkFileCreationOptions, error: id ) -> id; unsafe fn startAccessingSecurityScopedResource(self) -> BOOL; unsafe fn stopAccessingSecurityScopedResource(self); unsafe fn NSURLBookmarkFileCreationOptions( self ) -> NSURLBookmarkFileCreationOptions; unsafe fn NSURLBookmarkCreationOptions(self) -> NSURLBookmarkCreationOptions; unsafe fn NSURLBookmarkResolutionOptions( self ) -> NSURLBookmarkResolutionOptions;
}

Required Methods§

source

unsafe fn alloc(_: Self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn URLWithString_(_: Self, string: id) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn initWithString_(self, string: id) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn URLWithString_relativeToURL_(_: Self, string: id, url: id) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn initWithString_relativeToURL_(self, string: id, url: id) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn fileURLWithPath_isDirectory_(_: Self, path: id, is_dir: BOOL) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn initFileURLWithPath_isDirectory_(self, path: id, is_dir: BOOL) -> id

Safety

All the FFI functions are unsafe.

source

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

Safety

All the FFI functions are unsafe.

source

unsafe fn initFileURLWithPath_relativeToURL_(self, path: id, url: id) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn fileURLWithPath_isDirectory_relativeToURL_( _: Self, path: id, is_dir: BOOL, url: id ) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn initFileURLWithPath_isDirectory_relativeToURL_( self, path: id, is_dir: BOOL, url: id ) -> id

Safety

All the FFI functions are unsafe.

source

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

Safety

All the FFI functions are unsafe.

source

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

Safety

All the FFI functions are unsafe.

source

unsafe fn fileURLWithPathComponents_(_: Self, path_components: id) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn URLByResolvingAliasFileAtURL_options_error_( _: Self, url: id, options: NSURLBookmarkResolutionOptions, error: *mut id ) -> id

Safety

All the FFI functions are unsafe.

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

Safety

All the FFI functions are unsafe.

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

Safety

All the FFI functions are unsafe.

source

unsafe fn absoluteURLWithDataRepresentation_relativeToURL_( _: Self, data: id, url: id ) -> id

Safety

All the FFI functions are unsafe.

Safety

All the FFI functions are unsafe.

Safety

All the FFI functions are unsafe.

Safety

All the FFI functions are unsafe.

source

unsafe fn initAbsoluteURLWithDataRepresentation_relativeToURL_( self, data: id, url: id ) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn URLWithDataRepresentation_relativeToURL_( _: Self, data: id, url: id ) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn initWithDataRepresentation_relativeToURL_( self, data: id, url: id ) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn dataRepresentation(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn isEqual_(self, id: id) -> BOOL

Safety

All the FFI functions are unsafe.

source

unsafe fn checkResourceIsReachableAndReturnError_(self, error: id) -> BOOL

Safety

All the FFI functions are unsafe.

source

unsafe fn isFileReferenceURL(self) -> BOOL

Safety

All the FFI functions are unsafe.

source

unsafe fn isFileURL(self) -> BOOL

Safety

All the FFI functions are unsafe.

source

unsafe fn absoluteString(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn absoluteURL(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn baseURL(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn fragment(self) -> id

Safety

All the FFI functions are unsafe.

Safety

All the FFI functions are unsafe.

source

unsafe fn host(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn lastPathComponent(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn parameterString(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn password(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn path(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn pathComponents(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn pathExtension(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn port(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn query(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn relativePath(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn relativeString(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn resourceSpecifier(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn scheme(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn standardizedURL(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn user(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn NSURLResourceKey(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn filePathURL(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn fileReferenceURL(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn URLByAppendingPathComponent_(self, path_component: id) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn URLByAppendingPathComponent_isDirectory_( self, path_component: id, is_dir: BOOL ) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn URLByAppendingPathExtension_(self, extension: id) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn URLByDeletingLastPathComponent(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn URLByDeletingPathExtension(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn URLByResolvingSymlinksInPath(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn URLByStandardizingPath(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn hasDirectoryPath(self) -> BOOL

Safety

All the FFI functions are unsafe.

source

unsafe fn bookmarkDataWithContentsOfURL_error_( _: Self, url: id, error: id ) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( self, options: NSURLBookmarkCreationOptions, resource_value_for_keys: id, relative_to_url: id, error: id ) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn writeBookmarkData_toURL_options_error_( _: Self, data: id, to_url: id, options: NSURLBookmarkFileCreationOptions, error: id ) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn startAccessingSecurityScopedResource(self) -> BOOL

Safety

All the FFI functions are unsafe.

source

unsafe fn stopAccessingSecurityScopedResource(self)

Safety

All the FFI functions are unsafe.

source

unsafe fn NSURLBookmarkFileCreationOptions( self ) -> NSURLBookmarkFileCreationOptions

Safety

All the FFI functions are unsafe.

source

unsafe fn NSURLBookmarkCreationOptions(self) -> NSURLBookmarkCreationOptions

Safety

All the FFI functions are unsafe.

source

unsafe fn NSURLBookmarkResolutionOptions(self) -> NSURLBookmarkResolutionOptions

Safety

All the FFI functions are unsafe.

Implementations on Foreign Types§

source§

impl NSURL for id

source§

unsafe fn alloc(_: Self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn URLWithString_(_: Self, string: id) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn initWithString_(self, string: id) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn URLWithString_relativeToURL_(_: Self, string: id, url: id) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn initWithString_relativeToURL_(self, string: id, url: id) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn fileURLWithPath_isDirectory_(_: Self, path: id, is_dir: BOOL) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn initFileURLWithPath_isDirectory_(self, path: id, is_dir: BOOL) -> id

Safety

All the FFI functions are unsafe.

source§

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

Safety

All the FFI functions are unsafe.

source§

unsafe fn initFileURLWithPath_relativeToURL_(self, path: id, url: id) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn fileURLWithPath_isDirectory_relativeToURL_( _: Self, path: id, is_dir: BOOL, url: id ) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn initFileURLWithPath_isDirectory_relativeToURL_( self, path: id, is_dir: BOOL, url: id ) -> id

Safety

All the FFI functions are unsafe.

source§

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

Safety

All the FFI functions are unsafe.

source§

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

Safety

All the FFI functions are unsafe.

source§

unsafe fn fileURLWithPathComponents_(_: Self, path_components: id) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn URLByResolvingAliasFileAtURL_options_error_( _: Self, url: id, options: NSURLBookmarkResolutionOptions, error: *mut id ) -> id

Safety

All the FFI functions are unsafe.

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

Safety

All the FFI functions are unsafe.

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

Safety

All the FFI functions are unsafe.

source§

unsafe fn absoluteURLWithDataRepresentation_relativeToURL_( _: Self, data: id, url: id ) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn initAbsoluteURLWithDataRepresentation_relativeToURL_( self, data: id, url: id ) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn URLWithDataRepresentation_relativeToURL_( _: Self, data: id, url: id ) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn initWithDataRepresentation_relativeToURL_( self, data: id, url: id ) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn dataRepresentation(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn isEqual_(self, id: id) -> BOOL

Safety

All the FFI functions are unsafe.

source§

unsafe fn checkResourceIsReachableAndReturnError_(self, error: id) -> BOOL

Safety

All the FFI functions are unsafe.

source§

unsafe fn isFileReferenceURL(self) -> BOOL

Safety

All the FFI functions are unsafe.

source§

unsafe fn isFileURL(self) -> BOOL

Safety

All the FFI functions are unsafe.

source§

unsafe fn absoluteString(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn absoluteURL(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn baseURL(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn fragment(self) -> id

Safety

All the FFI functions are unsafe.

Safety

All the FFI functions are unsafe.

source§

unsafe fn host(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn lastPathComponent(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn parameterString(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn password(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn path(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn pathComponents(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn pathExtension(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn port(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn query(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn relativePath(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn relativeString(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn resourceSpecifier(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn scheme(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn standardizedURL(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn user(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn NSURLResourceKey(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn filePathURL(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn fileReferenceURL(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn URLByAppendingPathComponent_(self, path_component: id) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn URLByAppendingPathComponent_isDirectory_( self, path_component: id, is_dir: BOOL ) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn URLByAppendingPathExtension_(self, extension: id) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn URLByDeletingLastPathComponent(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn URLByDeletingPathExtension(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn URLByResolvingSymlinksInPath(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn URLByStandardizingPath(self) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn hasDirectoryPath(self) -> BOOL

Safety

All the FFI functions are unsafe.

source§

unsafe fn bookmarkDataWithContentsOfURL_error_( _: Self, url: id, error: id ) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( self, options: NSURLBookmarkCreationOptions, resource_value_for_keys: id, relative_to_url: id, error: id ) -> id

Safety

All the FFI functions are unsafe.

source§

unsafe fn writeBookmarkData_toURL_options_error_( _: Self, data: id, to_url: id, options: NSURLBookmarkFileCreationOptions, error: id ) -> id

Safety

All the FFI functions are unsafe.

Safety

All the FFI functions are unsafe.

source§

unsafe fn startAccessingSecurityScopedResource(self) -> BOOL

Safety

All the FFI functions are unsafe.

source§

unsafe fn stopAccessingSecurityScopedResource(self)

Safety

All the FFI functions are unsafe.

source§

unsafe fn NSURLBookmarkFileCreationOptions( self ) -> NSURLBookmarkFileCreationOptions

Safety

All the FFI functions are unsafe.

source§

unsafe fn NSURLBookmarkCreationOptions(self) -> NSURLBookmarkCreationOptions

Safety

All the FFI functions are unsafe.

source§

unsafe fn NSURLBookmarkResolutionOptions(self) -> NSURLBookmarkResolutionOptions

Safety

All the FFI functions are unsafe.

Implementors§