pub struct LuaKeywordToken { /* private fields */ }Implementations§
source§impl LuaKeywordToken
impl LuaKeywordToken
pub fn get_keyword(&self) -> LuaTokenKind
Trait Implementations§
source§impl Clone for LuaKeywordToken
impl Clone for LuaKeywordToken
source§fn clone(&self) -> LuaKeywordToken
fn clone(&self) -> LuaKeywordToken
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 LuaKeywordToken
impl Debug for LuaKeywordToken
source§impl Hash for LuaKeywordToken
impl Hash for LuaKeywordToken
source§impl LuaAstToken for LuaKeywordToken
impl LuaAstToken for LuaKeywordToken
fn syntax(&self) -> &LuaSyntaxToken
fn can_cast(kind: LuaTokenKind) -> boolwhere
Self: Sized,
fn cast(syntax: LuaSyntaxToken) -> Option<Self>where
Self: Sized,
fn get_token_kind(&self) -> LuaTokenKind
source§impl PartialEq for LuaKeywordToken
impl PartialEq for LuaKeywordToken
impl Eq for LuaKeywordToken
impl StructuralPartialEq for LuaKeywordToken
Auto Trait Implementations§
impl Freeze for LuaKeywordToken
impl !RefUnwindSafe for LuaKeywordToken
impl !Send for LuaKeywordToken
impl !Sync for LuaKeywordToken
impl Unpin for LuaKeywordToken
impl !UnwindSafe for LuaKeywordToken
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)