Struct rune::ast::ExprCall[][src]

pub struct ExprCall {
    pub id: Option<Id>,
    pub attributes: Vec<Attribute>,
    pub expr: Expr,
    pub args: Parenthesized<Expr, Comma>,
}

A function call <expr>(<args>).

Examples

use rune::{testing, ast};

testing::roundtrip::<ast::ExprCall>("test()");

Fields

id: Option<Id>

Opaque identifier related with call.

attributes: Vec<Attribute>

Attributes associated with expression.

expr: Expr

The name of the function being called.

args: Parenthesized<Expr, Comma>

The arguments of the function call.

Trait Implementations

impl Clone for ExprCall[src]

impl Debug for ExprCall[src]

impl Eq for ExprCall[src]

impl Parse for ExprCall[src]

impl PartialEq<ExprCall> for ExprCall[src]

impl Spanned for ExprCall[src]

impl StructuralEq for ExprCall[src]

impl StructuralPartialEq for ExprCall[src]

impl ToTokens for ExprCall[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> 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, 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.