pub struct Table(pub BracketedList<TableField>);Expand description
Struct representing a luau table.
Tuple Fields§
§0: BracketedList<TableField>Trait Implementations§
Source§impl GetRange for Table
impl GetRange for Table
Source§fn get_range(&self) -> Result<Range, GetRangeError>
fn get_range(&self) -> Result<Range, GetRangeError>
Get the range of the node. This will only fail if
Cst.status is
AstStatus::HasErrors.Source§impl Ord for Table
impl Ord for Table
Source§impl Parse<FunctionArguments> for Table
impl Parse<FunctionArguments> for Table
Source§fn parse(
token: Token,
lexer: &mut Lexer<'_>,
errors: &mut Vec<ParseError>,
) -> Option<FunctionArguments>
fn parse( token: Token, lexer: &mut Lexer<'_>, errors: &mut Vec<ParseError>, ) -> Option<FunctionArguments>
Try parsing the current item, starting from the passed token.
Source§impl ParseWithArgs<bool> for Table
impl ParseWithArgs<bool> for Table
Source§fn parse_with(
token: Token,
lexer: &mut Lexer<'_>,
errors: &mut Vec<ParseError>,
is_type: bool,
) -> Option<Self>
fn parse_with( token: Token, lexer: &mut Lexer<'_>, errors: &mut Vec<ParseError>, is_type: bool, ) -> Option<Self>
Try parsing the current item, starting from the passed token with the
passed arguments.
Source§impl PartialOrd for Table
impl PartialOrd for Table
impl Eq for Table
impl StructuralPartialEq for Table
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl !Send for Table
impl !Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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