Struct objc2_foundation::NSSearchPathDirectory
source · #[repr(transparent)]pub struct NSSearchPathDirectory(pub NSUInteger);
Available on crate feature
NSPathUtilities
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSSearchPathDirectory
impl NSSearchPathDirectory
pub const NSApplicationDirectory: Self = _
pub const NSDemoApplicationDirectory: Self = _
pub const NSDeveloperApplicationDirectory: Self = _
pub const NSAdminApplicationDirectory: Self = _
pub const NSLibraryDirectory: Self = _
pub const NSDeveloperDirectory: Self = _
pub const NSUserDirectory: Self = _
pub const NSDocumentationDirectory: Self = _
pub const NSDocumentDirectory: Self = _
pub const NSCoreServiceDirectory: Self = _
pub const NSAutosavedInformationDirectory: Self = _
pub const NSDesktopDirectory: Self = _
pub const NSCachesDirectory: Self = _
pub const NSApplicationSupportDirectory: Self = _
pub const NSDownloadsDirectory: Self = _
pub const NSInputMethodsDirectory: Self = _
pub const NSMoviesDirectory: Self = _
pub const NSMusicDirectory: Self = _
pub const NSPicturesDirectory: Self = _
pub const NSPrinterDescriptionDirectory: Self = _
pub const NSPreferencePanesDirectory: Self = _
pub const NSApplicationScriptsDirectory: Self = _
pub const NSItemReplacementDirectory: Self = _
pub const NSAllApplicationsDirectory: Self = _
pub const NSAllLibrariesDirectory: Self = _
pub const NSTrashDirectory: Self = _
Trait Implementations§
source§impl Clone for NSSearchPathDirectory
impl Clone for NSSearchPathDirectory
source§fn clone(&self) -> NSSearchPathDirectory
fn clone(&self) -> NSSearchPathDirectory
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NSSearchPathDirectory
impl Debug for NSSearchPathDirectory
source§impl Encode for NSSearchPathDirectory
impl Encode for NSSearchPathDirectory
source§impl Hash for NSSearchPathDirectory
impl Hash for NSSearchPathDirectory
source§impl Ord for NSSearchPathDirectory
impl Ord for NSSearchPathDirectory
source§fn cmp(&self, other: &NSSearchPathDirectory) -> Ordering
fn cmp(&self, other: &NSSearchPathDirectory) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for NSSearchPathDirectory
impl PartialEq for NSSearchPathDirectory
source§fn eq(&self, other: &NSSearchPathDirectory) -> bool
fn eq(&self, other: &NSSearchPathDirectory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSSearchPathDirectory
impl PartialOrd for NSSearchPathDirectory
source§fn partial_cmp(&self, other: &NSSearchPathDirectory) -> Option<Ordering>
fn partial_cmp(&self, other: &NSSearchPathDirectory) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for NSSearchPathDirectory
impl RefEncode for NSSearchPathDirectory
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSSearchPathDirectory
impl Eq for NSSearchPathDirectory
impl StructuralPartialEq for NSSearchPathDirectory
Auto Trait Implementations§
impl Freeze for NSSearchPathDirectory
impl RefUnwindSafe for NSSearchPathDirectory
impl Send for NSSearchPathDirectory
impl Sync for NSSearchPathDirectory
impl Unpin for NSSearchPathDirectory
impl UnwindSafe for NSSearchPathDirectory
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.