pub struct EnvVar {
pub span: Span,
pub key: SpannedString,
pub value: BreakableString,
}
Expand description
An environment variable key/value pair
Fields§
§span: Span
§key: SpannedString
§value: BreakableString
Implementations§
Source§impl EnvVar
impl EnvVar
pub fn new( span: Span, key: SpannedString, value: impl Into<BreakableString>, ) -> Self
Trait Implementations§
impl Eq for EnvVar
impl StructuralPartialEq for EnvVar
Auto Trait Implementations§
impl Freeze for EnvVar
impl RefUnwindSafe for EnvVar
impl Send for EnvVar
impl Sync for EnvVar
impl Unpin for EnvVar
impl UnwindSafe for EnvVar
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