Enum envmnt::types::ExpansionType
source · [−]pub enum ExpansionType {
UnixPrefix,
UnixBrackets,
Unix,
Windows,
OS,
All,
UnixBracketsWithDefaults,
}
Expand description
Expansion Type - unix/windows style
Variants
UnixPrefix
Unix prefix environment style, for example: $MY_ENV
UnixBrackets
Unix brackets environment style, for example: ${MY_ENV}
Unix
All unix supported styles
Windows
Windows environment style, for example: %MY_ENV%
OS
Current OS supported styles (Unix/Windows)
All
All supported styles for all platforms (not including custom types such as UnixBracketsWithDefaults
UnixBracketsWithDefaults
Unix brackets like format with default value support ${key:default}
Trait Implementations
sourceimpl Clone for ExpansionType
impl Clone for ExpansionType
sourcefn clone(&self) -> ExpansionType
fn clone(&self) -> ExpansionType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ExpansionType
impl Debug for ExpansionType
sourceimpl PartialEq<ExpansionType> for ExpansionType
impl PartialEq<ExpansionType> for ExpansionType
impl Copy for ExpansionType
impl StructuralPartialEq for ExpansionType
Auto Trait Implementations
impl RefUnwindSafe for ExpansionType
impl Send for ExpansionType
impl Sync for ExpansionType
impl Unpin for ExpansionType
impl UnwindSafe for ExpansionType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more