Struct sway_ast::keywords::ScriptToken
source · [−]pub struct ScriptToken { /* private fields */ }
Trait Implementations
sourceimpl Clone for ScriptToken
impl Clone for ScriptToken
sourcefn clone(&self) -> ScriptToken
fn clone(&self) -> ScriptToken
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ScriptToken
impl Debug for ScriptToken
sourceimpl From<ScriptToken> for Ident
impl From<ScriptToken> for Ident
sourcefn from(o: ScriptToken) -> Ident
fn from(o: ScriptToken) -> Ident
Converts to this type from the input type.
sourceimpl Keyword for ScriptToken
impl Keyword for ScriptToken
Auto Trait Implementations
impl RefUnwindSafe for ScriptToken
impl Send for ScriptToken
impl Sync for ScriptToken
impl Unpin for ScriptToken
impl UnwindSafe for ScriptToken
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more