pub struct ListLit<'input> {
pub loc: Loc,
pub items: Vec<Expr<'input>>,
}
Expand description
A list literal.
Fields§
§loc: Loc
§items: Vec<Expr<'input>>
Implementations§
Trait Implementations§
impl<'input> StructuralPartialEq for ListLit<'input>
Auto Trait Implementations§
impl<'input> Freeze for ListLit<'input>
impl<'input> RefUnwindSafe for ListLit<'input>
impl<'input> Send for ListLit<'input>
impl<'input> Sync for ListLit<'input>
impl<'input> Unpin for ListLit<'input>
impl<'input> UnwindSafe for ListLit<'input>
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