pub enum HandlerRank {
Default,
Owner,
Alternate,
None,
}
Expand description
Corresponds to LSHandlerRank
Variants§
Default
LSHandlerRank.Default. This app is an opener of files of this type; this value is also used if no rank is specified.
Owner
LSHandlerRank.Owner. This app is the primary creator of files of this type.
Alternate
LSHandlerRank.Alternate. This app is a secondary viewer of files of this type.
None
LSHandlerRank.None. This app is never selected to open files of this type, but it accepts drops of files of this type.
Trait Implementations§
Source§impl Clone for HandlerRank
impl Clone for HandlerRank
Source§fn clone(&self) -> HandlerRank
fn clone(&self) -> HandlerRank
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 HandlerRank
impl Debug for HandlerRank
Source§impl Default for HandlerRank
impl Default for HandlerRank
Source§fn default() -> HandlerRank
fn default() -> HandlerRank
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HandlerRank
impl<'de> Deserialize<'de> for HandlerRank
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for HandlerRank
impl Display for HandlerRank
Source§impl PartialEq for HandlerRank
impl PartialEq for HandlerRank
Source§impl Serialize for HandlerRank
impl Serialize for HandlerRank
impl Eq for HandlerRank
impl StructuralPartialEq for HandlerRank
Auto Trait Implementations§
impl Freeze for HandlerRank
impl RefUnwindSafe for HandlerRank
impl Send for HandlerRank
impl Sync for HandlerRank
impl Unpin for HandlerRank
impl UnwindSafe for HandlerRank
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.