#[repr(transparent)]pub struct FIMenuKind(pub NSUInteger);Expand description
The different kinds of custom menus that the Finder Sync extension can provide.
See also Apple’s documentation
Tuple Fields§
§0: NSUIntegerImplementations§
Source§impl FIMenuKind
impl FIMenuKind
Sourcepub const ContextualMenuForItems: Self
pub const ContextualMenuForItems: Self
A shortcut menu created when the user control-clicks on an item or a group of selected items inside the Finder window.
Sourcepub const ContextualMenuForContainer: Self
pub const ContextualMenuForContainer: Self
A shortcut menu created when the user control-clicks on the Finder window’s background.
Sourcepub const ContextualMenuForSidebar: Self
pub const ContextualMenuForSidebar: Self
A shortcut menu created when the user control-clicks on an item in the sidebar.
Sourcepub const ToolbarItemMenu: Self
pub const ToolbarItemMenu: Self
A menu created when the user clicks on the extension’s toolbar button.
Trait Implementations§
Source§impl Clone for FIMenuKind
impl Clone for FIMenuKind
Source§fn clone(&self) -> FIMenuKind
fn clone(&self) -> FIMenuKind
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 FIMenuKind
impl Debug for FIMenuKind
Source§impl Encode for FIMenuKind
impl Encode for FIMenuKind
Source§impl Hash for FIMenuKind
impl Hash for FIMenuKind
Source§impl Ord for FIMenuKind
impl Ord for FIMenuKind
Source§fn cmp(&self, other: &FIMenuKind) -> Ordering
fn cmp(&self, other: &FIMenuKind) -> 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 FIMenuKind
impl PartialEq for FIMenuKind
Source§impl PartialOrd for FIMenuKind
impl PartialOrd for FIMenuKind
Source§impl RefEncode for FIMenuKind
impl RefEncode for FIMenuKind
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 FIMenuKind
impl Eq for FIMenuKind
impl StructuralPartialEq for FIMenuKind
Auto Trait Implementations§
impl Freeze for FIMenuKind
impl RefUnwindSafe for FIMenuKind
impl Send for FIMenuKind
impl Sync for FIMenuKind
impl Unpin for FIMenuKind
impl UnwindSafe for FIMenuKind
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.