Struct mun_syntax::ast::FunctionDef[][src]

pub struct FunctionDef { /* fields omitted */ }

Implementations

impl FunctionDef[src]

impl FunctionDef[src]

pub fn param_list(&self) -> Option<ParamList>[src]

pub fn body(&self) -> Option<BlockExpr>[src]

pub fn ret_type(&self) -> Option<RetType>[src]

Trait Implementations

impl AstNode for FunctionDef[src]

impl Clone for FunctionDef[src]

impl Debug for FunctionDef[src]

impl DocCommentsOwner for FunctionDef[src]

impl Eq for FunctionDef[src]

impl ExternOwner for FunctionDef[src]

impl From<FunctionDef> for ModuleItem[src]

impl Hash for FunctionDef[src]

impl NameOwner for FunctionDef[src]

impl PartialEq<FunctionDef> for FunctionDef[src]

impl StructuralEq for FunctionDef[src]

impl StructuralPartialEq for FunctionDef[src]

impl VisibilityOwner for FunctionDef[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.