Struct yash_syntax::syntax::Item
source · [−]Expand description
Element of a List.
Fields
and_or: Rc<AndOrList<H>>
Main part of this item.
The and-or list is contained in Rc
to allow executing it
asynchronously without cloning it.
async_flag: Option<Location>
Location of the &
operator for this item, if any.
Trait Implementations
Allows conversion from Item to String.
By default, the ;
terminator is omitted from the formatted string.
When the alternate flag is specified as in {:#}
, the result is always
terminated by either ;
or &
.
Auto Trait Implementations
impl<H = HereDoc> !RefUnwindSafe for Item<H>
impl<H = HereDoc> !UnwindSafe for Item<H>
Blanket Implementations
Mutably borrows from an owned value. Read more