pub enum NSURLBookmarkCreationOption {
Minimal,
SuitableForBookmarkFile,
SecurityScoped,
SecurityScopedReadOnly,
}
Expand description
Options used when creating bookmark data.
Variants
Minimal
Specifies that a bookmark created with this option should be created with minimal information.
SuitableForBookmarkFile
Specifies that the bookmark data should include properties required to create Finder alias files.
SecurityScoped
Specifies that you want to create a security-scoped bookmark that, when resolved, provides a security-scoped URL allowing read/write access to a file-system resource.
SecurityScopedReadOnly
When combined with the NSURLBookmarkCreationOptions::SecurityScoped option, specifies that you want to create a security-scoped bookmark that, when resolved, provides a security-scoped URL allowing read-only access to a file-system resource.
Trait Implementations
sourceimpl Clone for NSURLBookmarkCreationOption
impl Clone for NSURLBookmarkCreationOption
sourcefn clone(&self) -> NSURLBookmarkCreationOption
fn clone(&self) -> NSURLBookmarkCreationOption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NSURLBookmarkCreationOption
impl Debug for NSURLBookmarkCreationOption
sourceimpl From<&NSURLBookmarkCreationOption> for NSUInteger
impl From<&NSURLBookmarkCreationOption> for NSUInteger
sourcefn from(flag: &NSURLBookmarkCreationOption) -> NSUInteger
fn from(flag: &NSURLBookmarkCreationOption) -> NSUInteger
Converts to this type from the input type.
sourceimpl From<NSURLBookmarkCreationOption> for NSUInteger
impl From<NSURLBookmarkCreationOption> for NSUInteger
sourcefn from(flag: NSURLBookmarkCreationOption) -> NSUInteger
fn from(flag: NSURLBookmarkCreationOption) -> NSUInteger
Converts to this type from the input type.
impl Copy for NSURLBookmarkCreationOption
Auto Trait Implementations
impl RefUnwindSafe for NSURLBookmarkCreationOption
impl Send for NSURLBookmarkCreationOption
impl Sync for NSURLBookmarkCreationOption
impl Unpin for NSURLBookmarkCreationOption
impl UnwindSafe for NSURLBookmarkCreationOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more