Enum yash_syntax::syntax::RedirBody
source · pub enum RedirBody {
Normal {
operator: RedirOp,
operand: Word,
},
HereDoc(Rc<HereDoc>),
}
Expand description
Part of a redirection that defines the nature of the resulting file descriptor.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for RedirBody
impl PartialEq for RedirBody
impl Eq for RedirBody
impl StructuralEq for RedirBody
impl StructuralPartialEq for RedirBody
Auto Trait Implementations§
impl !RefUnwindSafe for RedirBody
impl !Send for RedirBody
impl !Sync for RedirBody
impl Unpin for RedirBody
impl !UnwindSafe for RedirBody
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