pub enum InstallScope {
Global,
Local,
}Expand description
Installation scope for a pack
Variants§
Global
Global installation (user-wide, in XDG directories)
Local
Local installation (project-specific, in .mai/ directory)
Trait Implementations§
Source§impl Clone for InstallScope
impl Clone for InstallScope
Source§fn clone(&self) -> InstallScope
fn clone(&self) -> InstallScope
Returns a duplicate 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 InstallScope
impl Debug for InstallScope
Source§impl Default for InstallScope
impl Default for InstallScope
Source§fn default() -> InstallScope
fn default() -> InstallScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstallScope
impl<'de> Deserialize<'de> for InstallScope
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 InstallScope
impl Display for InstallScope
Source§impl PartialEq for InstallScope
impl PartialEq for InstallScope
Source§impl Serialize for InstallScope
impl Serialize for InstallScope
impl Copy for InstallScope
impl Eq for InstallScope
impl StructuralPartialEq for InstallScope
Auto Trait Implementations§
impl Freeze for InstallScope
impl RefUnwindSafe for InstallScope
impl Send for InstallScope
impl Sync for InstallScope
impl Unpin for InstallScope
impl UnsafeUnpin for InstallScope
impl UnwindSafe for InstallScope
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.