[][src]Struct rain_lang::parser::ast::Parametrized

pub struct Parametrized<'a> {
    pub args: Vec<(Option<&'a str>, Expr<'a>)>,
    pub ret_ty: Option<Box<Expr<'a>>>,
    pub result: Box<Expr<'a>>,
}

A a parametrized expression

Fields

args: Vec<(Option<&'a str>, Expr<'a>)>

The arguments of this parametrized expression, along with their types

ret_ty: Option<Box<Expr<'a>>>

The optional return type of this parametrized expression

result: Box<Expr<'a>>

The result of this parametrized expression

Trait Implementations

impl<'a> Clone for Parametrized<'a>[src]

impl<'_> Debug for Parametrized<'_>[src]

impl<'_> Display for Parametrized<'_>[src]

impl<'a> Eq for Parametrized<'a>[src]

impl<'a> PartialEq<Parametrized<'a>> for Parametrized<'a>[src]

impl<'a> StructuralEq for Parametrized<'a>[src]

impl<'a> StructuralPartialEq for Parametrized<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Parametrized<'a>

impl<'a> Send for Parametrized<'a>

impl<'a> Sync for Parametrized<'a>

impl<'a> Unpin for Parametrized<'a>

impl<'a> UnwindSafe for Parametrized<'a>

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,