pub enum ConfigFileKind {
Config,
Env,
}Variants§
Implementations§
Source§impl ConfigFileKind
impl ConfigFileKind
pub const fn default(self) -> &'static str
pub const fn scaffold(self) -> &'static str
pub const fn doc(self) -> &'static str
pub const fn name(self) -> &'static str
pub const fn path(self) -> &'static str
pub const fn default_path(self) -> &'static str
pub const fn nu_const_path(self) -> &'static str
Trait Implementations§
Source§impl Clone for ConfigFileKind
impl Clone for ConfigFileKind
Source§fn clone(&self) -> ConfigFileKind
fn clone(&self) -> ConfigFileKind
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 ConfigFileKind
impl Debug for ConfigFileKind
Source§impl Display for ConfigFileKind
impl Display for ConfigFileKind
Source§impl PartialEq for ConfigFileKind
impl PartialEq for ConfigFileKind
impl Copy for ConfigFileKind
impl Eq for ConfigFileKind
impl StructuralPartialEq for ConfigFileKind
Auto Trait Implementations§
impl Freeze for ConfigFileKind
impl RefUnwindSafe for ConfigFileKind
impl Send for ConfigFileKind
impl Sync for ConfigFileKind
impl Unpin for ConfigFileKind
impl UnwindSafe for ConfigFileKind
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> ToLeanString for Twhere
T: Display,
impl<T> ToLeanString for Twhere
T: Display,
Source§fn try_to_lean_string(&self) -> Result<LeanString, ToLeanStringError>
fn try_to_lean_string(&self) -> Result<LeanString, ToLeanStringError>
Attempts to convert the value to a
LeanString. Read moreSource§fn to_lean_string(&self) -> LeanString
fn to_lean_string(&self) -> LeanString
Converts the value to a
LeanString. Read more