Trait NSURL

Source
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

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl NSURL for id