pub struct TableExpression<'s> {
pub open: &'s Token<'s>,
pub slots: Vec<TableSlot<'s>>,
pub spread: Option<&'s Token<'s>>,
pub close: &'s Token<'s>,
}Expand description
A table literal.
Grammar: { TableSlot* ...? }
Fields§
§open: &'s Token<'s>§slots: Vec<TableSlot<'s>>§spread: Option<&'s Token<'s>>§close: &'s Token<'s>Trait Implementations§
Source§impl<'s> Clone for TableExpression<'s>
impl<'s> Clone for TableExpression<'s>
Source§fn clone(&self) -> TableExpression<'s>
fn clone(&self) -> TableExpression<'s>
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 moreAuto Trait Implementations§
impl<'s> Freeze for TableExpression<'s>
impl<'s> RefUnwindSafe for TableExpression<'s>
impl<'s> Send for TableExpression<'s>
impl<'s> Sync for TableExpression<'s>
impl<'s> Unpin for TableExpression<'s>
impl<'s> UnwindSafe for TableExpression<'s>
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