pub struct IrRedirection {
pub fd: Option<u32>,
pub op: RedirectionOp,
pub target: Word,
pub here_doc_body: Option<HereDocBody>,
}Expand description
Redirection plan attached to an IR builtin command.
Fields§
§fd: Option<u32>§op: RedirectionOp§target: Word§here_doc_body: Option<HereDocBody>Trait Implementations§
Source§impl Clone for IrRedirection
impl Clone for IrRedirection
Source§fn clone(&self) -> IrRedirection
fn clone(&self) -> IrRedirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IrRedirection
impl Debug for IrRedirection
Source§impl From<&HirRedirection> for IrRedirection
impl From<&HirRedirection> for IrRedirection
Source§fn from(value: &HirRedirection) -> Self
fn from(value: &HirRedirection) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IrRedirection
impl PartialEq for IrRedirection
Source§fn eq(&self, other: &IrRedirection) -> bool
fn eq(&self, other: &IrRedirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IrRedirection
Auto Trait Implementations§
impl Freeze for IrRedirection
impl RefUnwindSafe for IrRedirection
impl Send for IrRedirection
impl Sync for IrRedirection
impl Unpin for IrRedirection
impl UnsafeUnpin for IrRedirection
impl UnwindSafe for IrRedirection
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