Struct sway_ast::keywords::TraitToken
source · pub struct TraitToken { /* private fields */ }Trait Implementations§
source§impl Clone for TraitToken
impl Clone for TraitToken
source§fn clone(&self) -> TraitToken
fn clone(&self) -> TraitToken
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 TraitToken
impl Debug for TraitToken
source§impl From<TraitToken> for Ident
impl From<TraitToken> for Ident
source§fn from(o: TraitToken) -> Ident
fn from(o: TraitToken) -> Ident
Converts to this type from the input type.
source§impl Keyword for TraitToken
impl Keyword for TraitToken
source§impl Serialize for TraitToken
impl Serialize 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§
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