Struct sway_parse::keywords::BreakToken
source · [−]pub struct BreakToken { /* private fields */ }Implementations
sourceimpl BreakToken
impl BreakToken
Trait Implementations
sourceimpl Clone for BreakToken
impl Clone for BreakToken
sourcefn clone(&self) -> BreakToken
fn clone(&self) -> BreakToken
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 BreakToken
impl Debug for BreakToken
sourceimpl From<BreakToken> for Ident
impl From<BreakToken> for Ident
sourcefn from(o: BreakToken) -> Ident
fn from(o: BreakToken) -> Ident
Converts to this type from the input type.
sourceimpl Parse for BreakToken
impl Parse for BreakToken
fn parse(parser: &mut Parser<'_, '_>) -> ParseResult<BreakToken>
sourceimpl Peek for BreakToken
impl Peek for BreakToken
fn peek(peeker: Peeker<'_>) -> Option<BreakToken>
Auto Trait Implementations
impl RefUnwindSafe for BreakToken
impl Send for BreakToken
impl Sync for BreakToken
impl Unpin for BreakToken
impl UnwindSafe for BreakToken
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