Struct sway_ast::keywords::TraitToken
source · [−]pub struct TraitToken { /* private fields */ }
Trait Implementations
sourceimpl Clone for TraitToken
impl Clone for TraitToken
sourcefn clone(&self) -> TraitToken
fn clone(&self) -> TraitToken
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 TraitToken
impl Debug for TraitToken
sourceimpl From<TraitToken> for Ident
impl From<TraitToken> for Ident
sourcefn from(o: TraitToken) -> Ident
fn from(o: TraitToken) -> Ident
Converts to this type from the input type.
sourceimpl Keyword for TraitToken
impl Keyword for TraitToken
Auto Trait Implementations
impl RefUnwindSafe for TraitToken
impl Send for TraitToken
impl Sync for TraitToken
impl Unpin for TraitToken
impl UnwindSafe for TraitToken
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