Trait cocoa_foundation::foundation::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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl NSURL for id