pub enum VariableSource {
Environment {
name: String,
},
CommandLineInput,
Undefined,
}Expand description
Source of a variable’s value
Variants§
Environment
Defined in an environment in the manifest
CommandLineInput
Would come from command-line –input
Undefined
Not defined anywhere
Trait Implementations§
Source§impl Clone for VariableSource
impl Clone for VariableSource
Source§fn clone(&self) -> VariableSource
fn clone(&self) -> VariableSource
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 moreAuto Trait Implementations§
impl Freeze for VariableSource
impl RefUnwindSafe for VariableSource
impl Send for VariableSource
impl Sync for VariableSource
impl Unpin for VariableSource
impl UnsafeUnpin for VariableSource
impl UnwindSafe for VariableSource
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