[][src]Struct fuzzy_pickles::ast::TraitImplFunctionHeader

pub struct TraitImplFunctionHeader {
    pub extent: Extent,
    pub visibility: Option<Visibility>,
    pub qualifiers: FunctionQualifiers,
    pub name: Ident,
    pub generics: Option<GenericDeclarations>,
    pub arguments: Vec<TraitImplArgument>,
    pub return_type: Option<Type>,
    pub wheres: Vec<Where>,
    pub whitespace: Vec<Whitespace>,
}

The signature of a function in a trait declaration

Example Source

This example is not tested
pub trait Monster { fn roar(&self) {} }
//                  ^^^^^^^^^^^^^^

Fields

extent: Extentvisibility: Option<Visibility>qualifiers: FunctionQualifiersname: Identgenerics: Option<GenericDeclarations>arguments: Vec<TraitImplArgument>return_type: Option<Type>wheres: Vec<Where>whitespace: Vec<Whitespace>

Trait Implementations

impl Debug for TraitImplFunctionHeader[src]

impl HasExtent for TraitImplFunctionHeader[src]

impl<'a> Index<&'a TraitImplFunctionHeader> for str[src]

type Output = str

The returned type after indexing.

impl Index<TraitImplFunctionHeader> for str[src]

type Output = str

The returned type after indexing.

impl Visit for TraitImplFunctionHeader[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, 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.