pub enum EnvLineKind {
Blank,
Comment,
Variable,
}Expand description
Environment file line classification.
Variants§
Blank
A blank line.
Comment
A comment line beginning with # after trimming leading whitespace.
Variable
A KEY=value variable line.
Trait Implementations§
Source§impl Clone for EnvLineKind
impl Clone for EnvLineKind
Source§fn clone(&self) -> EnvLineKind
fn clone(&self) -> EnvLineKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EnvLineKind
impl Debug for EnvLineKind
Source§impl Hash for EnvLineKind
impl Hash for EnvLineKind
Source§impl Ord for EnvLineKind
impl Ord for EnvLineKind
Source§fn cmp(&self, other: &EnvLineKind) -> Ordering
fn cmp(&self, other: &EnvLineKind) -> Ordering
1.21.0 (const: unstable) · 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 EnvLineKind
impl PartialEq for EnvLineKind
Source§fn eq(&self, other: &EnvLineKind) -> bool
fn eq(&self, other: &EnvLineKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EnvLineKind
impl PartialOrd for EnvLineKind
impl Copy for EnvLineKind
impl Eq for EnvLineKind
impl StructuralPartialEq for EnvLineKind
Auto Trait Implementations§
impl Freeze for EnvLineKind
impl RefUnwindSafe for EnvLineKind
impl Send for EnvLineKind
impl Sync for EnvLineKind
impl Unpin for EnvLineKind
impl UnsafeUnpin for EnvLineKind
impl UnwindSafe for EnvLineKind
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