Struct rune::ast::ExprContinue[][src]

pub struct ExprContinue {
    pub attributes: Vec<Attribute>,
    pub break_token: Continue,
    pub label: Option<Label>,
}

A continue statement: continue [label].

use rune::{testing, ast};

testing::roundtrip::<ast::ExprContinue>("continue");
testing::roundtrip::<ast::ExprContinue>("continue 'foo");

Fields

attributes: Vec<Attribute>

The attributes of the break expression

break_token: Continue

The return token.

label: Option<Label>

An optional label to continue to.

Implementations

impl ExprContinue[src]

pub fn parse_with_meta(
    parser: &mut Parser<'_>,
    attributes: Vec<Attribute>
) -> Result<Self, ParseError>
[src]

Parse #ident and attach the given meta

Trait Implementations

impl Clone for ExprContinue[src]

impl Debug for ExprContinue[src]

impl Eq for ExprContinue[src]

impl Parse for ExprContinue[src]

impl PartialEq<ExprContinue> for ExprContinue[src]

impl Spanned for ExprContinue[src]

impl StructuralEq for ExprContinue[src]

impl StructuralPartialEq for ExprContinue[src]

impl ToTokens for ExprContinue[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.