pub enum LuaVarExpr {
NameExpr(LuaNameExpr),
IndexExpr(LuaIndexExpr),
}Variants§
NameExpr(LuaNameExpr)
IndexExpr(LuaIndexExpr)
Trait Implementations§
source§impl Clone for LuaVarExpr
impl Clone for LuaVarExpr
source§fn clone(&self) -> LuaVarExpr
fn clone(&self) -> LuaVarExpr
Returns a copy 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 moresource§impl Debug for LuaVarExpr
impl Debug for LuaVarExpr
source§impl Hash for LuaVarExpr
impl Hash for LuaVarExpr
source§impl LuaAstNode for LuaVarExpr
impl LuaAstNode for LuaVarExpr
fn syntax(&self) -> &LuaSyntaxNode
fn can_cast(kind: LuaSyntaxKind) -> boolwhere
Self: Sized,
fn cast(syntax: LuaSyntaxNode) -> Option<Self>where
Self: Sized,
fn child<N: LuaAstNode>(&self) -> Option<N>
fn token<N: LuaAstToken>(&self) -> Option<N>
fn token_by_kind(&self, kind: LuaTokenKind) -> Option<LuaGeneralToken>
fn tokens<N: LuaAstToken>(&self) -> LuaAstTokenChildren<N> ⓘ
fn children<N: LuaAstNode>(&self) -> LuaAstChildren<N> ⓘ
fn descendants<N: LuaAstNode>(&self) -> impl Iterator<Item = N>
fn ancestors<N: LuaAstNode>(&self) -> impl Iterator<Item = N>
fn dump(&self)
source§impl PartialEq for LuaVarExpr
impl PartialEq for LuaVarExpr
impl Eq for LuaVarExpr
impl StructuralPartialEq for LuaVarExpr
Auto Trait Implementations§
impl Freeze for LuaVarExpr
impl !RefUnwindSafe for LuaVarExpr
impl !Send for LuaVarExpr
impl !Sync for LuaVarExpr
impl Unpin for LuaVarExpr
impl !UnwindSafe for LuaVarExpr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)