pub enum ConfigLevel {
Project,
Workspace,
Global,
}Expand description
Configuration levels in order of precedence
Variants§
Project
Project-specific configuration
Workspace
Workspace-level configuration
Global
Global user configuration
Trait Implementations§
Source§impl Clone for ConfigLevel
impl Clone for ConfigLevel
Source§fn clone(&self) -> ConfigLevel
fn clone(&self) -> ConfigLevel
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 ConfigLevel
impl Debug for ConfigLevel
Source§impl Ord for ConfigLevel
impl Ord for ConfigLevel
Source§fn cmp(&self, other: &ConfigLevel) -> Ordering
fn cmp(&self, other: &ConfigLevel) -> 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 ConfigLevel
impl PartialEq for ConfigLevel
Source§impl PartialOrd for ConfigLevel
impl PartialOrd for ConfigLevel
impl Eq for ConfigLevel
impl StructuralPartialEq for ConfigLevel
Auto Trait Implementations§
impl Freeze for ConfigLevel
impl RefUnwindSafe for ConfigLevel
impl Send for ConfigLevel
impl Sync for ConfigLevel
impl Unpin for ConfigLevel
impl UnwindSafe for ConfigLevel
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.