Struct rune::ast::ExprElseIf [−][src]
An else branch of an if expression.
Fields
else_: Else
The else
token.
if_: If
The if
token.
condition: Condition
The condition for the branch.
block: Box<Block>
The body of the else statement.
Trait Implementations
impl Clone for ExprElseIf
[src]
fn clone(&self) -> ExprElseIf
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExprElseIf
[src]
impl Eq for ExprElseIf
[src]
impl Parse for ExprElseIf
[src]
fn parse(parser: &mut Parser<'_>) -> Result<Self, ParseError>
[src]
impl PartialEq<ExprElseIf> for ExprElseIf
[src]
fn eq(&self, other: &ExprElseIf) -> bool
[src]
fn ne(&self, other: &ExprElseIf) -> bool
[src]
impl Peek for ExprElseIf
[src]
impl Spanned for ExprElseIf
[src]
impl StructuralEq for ExprElseIf
[src]
impl StructuralPartialEq for ExprElseIf
[src]
impl ToTokens for ExprElseIf
[src]
fn to_tokens(&self, context: &MacroContext, stream: &mut TokenStream)
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExprElseIf
impl Send for ExprElseIf
impl Sync for ExprElseIf
impl Unpin for ExprElseIf
impl UnwindSafe for ExprElseIf
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,