pub struct LitList {
pub values: Vec<Expr>,
pub span: Range<usize>,
}Expand description
The list type, consisting of a list of expressions surrounded by square brackets and delimited by
commas: [expr1, expr2, ...].
Fields§
§values: Vec<Expr>The list of expressions.
span: Range<usize>The region of the source code that this literal was parsed from.
Trait Implementations§
Source§impl Latex for LitList
impl Latex for LitList
Source§fn as_display(&self) -> LatexFormatter<'_, Self>
fn as_display(&self) -> LatexFormatter<'_, Self>
Wraps the value in a
LatexFormatter, which implements Display.Source§impl<'source> Parse<'source> for LitList
impl<'source> Parse<'source> for LitList
impl Eq for LitList
impl StructuralPartialEq for LitList
Auto Trait Implementations§
impl Freeze for LitList
impl RefUnwindSafe for LitList
impl Send for LitList
impl Sync for LitList
impl Unpin for LitList
impl UnwindSafe for LitList
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