pub enum EnvEntry<'a> {
Variable(EnvVariable<'a>),
OrphanComment(EnvComment<'a>),
EmptyLine,
}
Expand description
Represents a single entry in an environment file.
Variants§
Variable(EnvVariable<'a>)
A variable assignment with optional comments
OrphanComment(EnvComment<'a>)
A comment not associated with a variable
EmptyLine
An empty line
Trait Implementations§
impl<'a> StructuralPartialEq for EnvEntry<'a>
Auto Trait Implementations§
impl<'a> Freeze for EnvEntry<'a>
impl<'a> RefUnwindSafe for EnvEntry<'a>
impl<'a> Send for EnvEntry<'a>
impl<'a> Sync for EnvEntry<'a>
impl<'a> Unpin for EnvEntry<'a>
impl<'a> UnwindSafe for EnvEntry<'a>
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