[][src]Struct ra_ap_syntax::ast::Condition

pub struct Condition { /* fields omitted */ }

Implementations

impl Condition[src]

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

pub fn pat(&self) -> Option<Pat>[src]

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

pub fn expr(&self) -> Option<Expr>[src]

Trait Implementations

impl AstNode for Condition[src]

impl Clone for Condition[src]

impl Debug for Condition[src]

impl Display for Condition[src]

impl Eq for Condition[src]

impl Hash for Condition[src]

impl PartialEq<Condition> for Condition[src]

impl StructuralEq for Condition[src]

impl StructuralPartialEq for Condition[src]

Auto Trait Implementations

impl !RefUnwindSafe for Condition

impl !Send for Condition

impl !Sync for Condition

impl Unpin for Condition

impl !UnwindSafe for Condition

Blanket Implementations

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

impl<N> AstNodeEdit for N where
    N: AstNode + Clone
[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> 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.