pub struct ZshRedir {
pub rtype: RedirType,
pub fd: i32,
pub name: String,
pub heredoc: Option<HereDocInfo>,
pub varid: Option<String>,
pub heredoc_idx: Option<usize>,
}Expand description
A redirection
Fields§
§rtype: RedirType§fd: i32§name: String§heredoc: Option<HereDocInfo>§varid: Option<String>§heredoc_idx: Option<usize>Index into ZshLexer.heredocs[] for body lookup. Filled in by
parse_redirection for Heredoc/HeredocDash, then resolved into
heredoc.content by fill_heredoc_bodies after process_heredocs
has run for the line.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ZshRedir
impl<'de> Deserialize<'de> for ZshRedir
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ZshRedir
impl RefUnwindSafe for ZshRedir
impl Send for ZshRedir
impl Sync for ZshRedir
impl Unpin for ZshRedir
impl UnsafeUnpin for ZshRedir
impl UnwindSafe for ZshRedir
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