Struct yash_syntax::syntax::Item
source · [−]Expand description
Element of a List.
Fields
and_or: Rc<AndOrList>
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
sourceimpl Display for Item
impl Display for Item
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 &
.
impl Eq for Item
impl StructuralEq for Item
impl StructuralPartialEq for Item
Auto Trait Implementations
impl !RefUnwindSafe for Item
impl !Send for Item
impl !Sync for Item
impl Unpin for Item
impl !UnwindSafe for Item
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more