Enum yash_syntax::syntax::Value
source · [−]Expand description
Value of an assignment.
Variants
Scalar(Word)
Scalar value, a possibly empty word.
Note: Because a scalar assignment value is created from a normal command word, the location of the word in the scalar value refers to the entire assignment word rather than the assigned value.
Array(Vec<Word>)
Array, possibly empty list of non-empty words.
Array assignment is a POSIXly non-portable extension.
Trait Implementations
impl Eq for Value
impl StructuralEq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations
impl !RefUnwindSafe for Value
impl !Send for Value
impl !Sync for Value
impl Unpin for Value
impl !UnwindSafe for Value
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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