[][src]Struct rslint_parser::ast::SwitchStmt

pub struct SwitchStmt { /* fields omitted */ }

Implementations

impl SwitchStmt[src]

pub fn switch_token(&self) -> Option<SyntaxToken>[src]

pub fn test(&self) -> Option<Condition>[src]

pub fn l_curly_token(&self) -> Option<SyntaxToken>[src]

pub fn cases(&self) -> AstChildren<SwitchCase>

Notable traits for AstChildren<N>

impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
[src]

pub fn r_curly_token(&self) -> Option<SyntaxToken>[src]

Trait Implementations

impl AstNode for SwitchStmt[src]

impl Clone for SwitchStmt[src]

impl Debug for SwitchStmt[src]

impl Display for SwitchStmt[src]

impl Eq for SwitchStmt[src]

impl From<SwitchStmt> for Stmt[src]

impl Hash for SwitchStmt[src]

impl PartialEq<SwitchStmt> for SwitchStmt[src]

impl StructuralEq for SwitchStmt[src]

impl StructuralPartialEq for SwitchStmt[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> Erasable for T

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> ToString for T where
    T: Display + ?Sized
[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.