pub struct LuaPathToken { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for LuaPathToken
impl Clone for LuaPathToken
Source§fn clone(&self) -> LuaPathToken
fn clone(&self) -> LuaPathToken
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 LuaPathToken
impl Debug for LuaPathToken
Source§impl Hash for LuaPathToken
impl Hash for LuaPathToken
Source§impl LuaAstToken for LuaPathToken
impl LuaAstToken for LuaPathToken
fn syntax(&self) -> &LuaSyntaxToken
fn can_cast(_: LuaTokenKind) -> boolwhere
Self: Sized,
fn cast(syntax: LuaSyntaxToken) -> Option<Self>where
Self: Sized,
fn get_token_kind(&self) -> LuaTokenKind
fn get_position(&self) -> TextSize
fn get_range(&self) -> TextRange
fn get_syntax_id(&self) -> LuaSyntaxId
fn get_text(&self) -> &str
fn get_parent<N: LuaAstNode>(&self) -> Option<N>
fn ancestors<N: LuaAstNode>(&self) -> impl Iterator<Item = N>
fn dump(&self)
Source§impl PartialEq for LuaPathToken
impl PartialEq for LuaPathToken
impl Eq for LuaPathToken
impl StructuralPartialEq for LuaPathToken
Auto Trait Implementations§
impl Freeze for LuaPathToken
impl !RefUnwindSafe for LuaPathToken
impl !Send for LuaPathToken
impl !Sync for LuaPathToken
impl Unpin for LuaPathToken
impl !UnwindSafe for LuaPathToken
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