[][src]Trait uikit_sys::INSFileWrapper

pub trait INSFileWrapper: Sized + Deref {
    unsafe fn initWithURL_options_error_(
        self,
        url: NSURL,
        options: NSFileWrapperReadingOptions,
        outError: *mut NSError
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initDirectoryWithFileWrappers_(
        self,
        childrenByPreferredName: NSDictionary
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initRegularFileWithContents_(
        self,
        contents: NSData
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initSymbolicLinkWithDestinationURL_(
        self,
        url: NSURL
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithSerializedRepresentation_(
        self,
        serializeRepresentation: NSData
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCoder_(self, inCoder: NSCoder) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn matchesContentsOfURL_(self, url: NSURL) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn readFromURL_options_error_(
        self,
        url: NSURL,
        options: NSFileWrapperReadingOptions,
        outError: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn writeToURL_options_originalContentsURL_error_(
        self,
        url: NSURL,
        options: NSFileWrapperWritingOptions,
        originalContentsURL: NSURL,
        outError: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn addFileWrapper_(self, child: NSFileWrapper) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn addRegularFileWithContents_preferredFilename_(
        self,
        data: NSData,
        fileName: NSString
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeFileWrapper_(self, child: NSFileWrapper)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn keyForFileWrapper_(self, child: NSFileWrapper) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isDirectory(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isRegularFile(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isSymbolicLink(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn preferredFilename(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setPreferredFilename_(self, preferredFilename: NSString)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn filename(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setFilename_(self, filename: NSString)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fileAttributes(self) -> NSDictionary
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setFileAttributes_(self, fileAttributes: NSDictionary)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn serializedRepresentation(self) -> NSData
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fileWrappers(self) -> NSDictionary
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn regularFileContents(self) -> NSData
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn symbolicLinkDestinationURL(self) -> NSURL
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithURL_options_error_(
    self,
    url: NSURL,
    options: NSFileWrapperReadingOptions,
    outError: *mut NSError
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initDirectoryWithFileWrappers_(
    self,
    childrenByPreferredName: NSDictionary
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initRegularFileWithContents_(self, contents: NSData) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initSymbolicLinkWithDestinationURL_(self, url: NSURL) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithSerializedRepresentation_(
    self,
    serializeRepresentation: NSData
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithCoder_(self, inCoder: NSCoder) -> instancetype where
    Self::Target: Message + Sized

unsafe fn matchesContentsOfURL_(self, url: NSURL) -> BOOL where
    Self::Target: Message + Sized

unsafe fn readFromURL_options_error_(
    self,
    url: NSURL,
    options: NSFileWrapperReadingOptions,
    outError: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn writeToURL_options_originalContentsURL_error_(
    self,
    url: NSURL,
    options: NSFileWrapperWritingOptions,
    originalContentsURL: NSURL,
    outError: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn addFileWrapper_(self, child: NSFileWrapper) -> NSString where
    Self::Target: Message + Sized

unsafe fn addRegularFileWithContents_preferredFilename_(
    self,
    data: NSData,
    fileName: NSString
) -> NSString where
    Self::Target: Message + Sized

unsafe fn removeFileWrapper_(self, child: NSFileWrapper) where
    Self::Target: Message + Sized

unsafe fn keyForFileWrapper_(self, child: NSFileWrapper) -> NSString where
    Self::Target: Message + Sized

unsafe fn isDirectory(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn isRegularFile(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn preferredFilename(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn setPreferredFilename_(self, preferredFilename: NSString) where
    Self::Target: Message + Sized

unsafe fn filename(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn setFilename_(self, filename: NSString) where
    Self::Target: Message + Sized

unsafe fn fileAttributes(self) -> NSDictionary where
    Self::Target: Message + Sized

unsafe fn setFileAttributes_(self, fileAttributes: NSDictionary) where
    Self::Target: Message + Sized

unsafe fn serializedRepresentation(self) -> NSData where
    Self::Target: Message + Sized

unsafe fn fileWrappers(self) -> NSDictionary where
    Self::Target: Message + Sized

unsafe fn regularFileContents(self) -> NSData where
    Self::Target: Message + Sized

unsafe fn symbolicLinkDestinationURL(self) -> NSURL where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSFileWrapper for NSFileWrapper[src]

Loading content...