[][src]Struct haru::ast::ast::CaseStatement

pub struct CaseStatement {
    pub _span: Span,
    pub etype: Box<dyn AST>,
    pub id: Option<Box<dyn AST>>,
    pub stmts: Vec<Box<dyn AST>>,
}

Case statement

Fields

_span: Spanetype: Box<dyn AST>id: Option<Box<dyn AST>>stmts: Vec<Box<dyn AST>>

Trait Implementations

impl AST for CaseStatement[src]

impl Debug for CaseStatement[src]

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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