Struct yash_syntax::syntax::AndOrList
source · pub struct AndOrList {
pub first: Pipeline,
pub rest: Vec<(AndOr, Pipeline)>,
}
Expand description
Pipelines separated by &&
and ||
.
Fields§
§first: Pipeline
§rest: Vec<(AndOr, Pipeline)>
Trait Implementations§
source§impl FromStr for AndOrList
impl FromStr for AndOrList
Converts a string to an and-or list.
source§impl PartialEq for AndOrList
impl PartialEq for AndOrList
impl Eq for AndOrList
impl StructuralEq for AndOrList
impl StructuralPartialEq for AndOrList
Auto Trait Implementations§
impl !RefUnwindSafe for AndOrList
impl !Send for AndOrList
impl !Sync for AndOrList
impl Unpin for AndOrList
impl !UnwindSafe for AndOrList
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