pub struct LuaUnaryOpToken { /* private fields */ }Implementations§
Source§impl LuaUnaryOpToken
impl LuaUnaryOpToken
pub fn get_op(&self) -> UnaryOperator
Trait Implementations§
Source§impl Clone for LuaUnaryOpToken
impl Clone for LuaUnaryOpToken
Source§fn clone(&self) -> LuaUnaryOpToken
fn clone(&self) -> LuaUnaryOpToken
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 LuaUnaryOpToken
impl Debug for LuaUnaryOpToken
Source§impl Hash for LuaUnaryOpToken
impl Hash for LuaUnaryOpToken
Source§impl LuaAstToken for LuaUnaryOpToken
impl LuaAstToken for LuaUnaryOpToken
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 LuaUnaryOpToken
impl PartialEq for LuaUnaryOpToken
impl Eq for LuaUnaryOpToken
impl StructuralPartialEq for LuaUnaryOpToken
Auto Trait Implementations§
impl Freeze for LuaUnaryOpToken
impl !RefUnwindSafe for LuaUnaryOpToken
impl !Send for LuaUnaryOpToken
impl !Sync for LuaUnaryOpToken
impl Unpin for LuaUnaryOpToken
impl !UnwindSafe for LuaUnaryOpToken
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)