pub struct IoHereDocument {
pub remove_tabs: bool,
pub requires_expansion: bool,
pub here_end: Word,
pub doc: Word,
}Expand description
Represents an I/O here document.
Fields§
§remove_tabs: boolWhether to remove leading tabs from the here document.
requires_expansion: boolWhether to basic-expand the contents of the here document.
here_end: WordThe delimiter marking the end of the here document.
doc: WordThe contents of the here document.
Trait Implementations§
Source§impl Clone for IoHereDocument
impl Clone for IoHereDocument
Source§fn clone(&self) -> IoHereDocument
fn clone(&self) -> IoHereDocument
Returns a duplicate of the value. Read more
1.0.0 · 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 IoHereDocument
impl Debug for IoHereDocument
Source§impl SourceLocation for IoHereDocument
impl SourceLocation for IoHereDocument
Source§fn location(&self) -> Option<TokenLocation>
fn location(&self) -> Option<TokenLocation>
The location of the syntax item, when known
Auto Trait Implementations§
impl Freeze for IoHereDocument
impl RefUnwindSafe for IoHereDocument
impl Send for IoHereDocument
impl Sync for IoHereDocument
impl Unpin for IoHereDocument
impl UnwindSafe for IoHereDocument
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