pub struct FunctionHeader {
pub extent: Extent,
pub visibility: Option<Visibility>,
pub qualifiers: FunctionQualifiers,
pub name: Ident,
pub generics: Option<GenericDeclarations>,
pub arguments: Vec<Argument>,
pub return_type: Option<Type>,
pub wheres: Vec<Where>,
pub whitespace: Vec<Whitespace>,
}
Expand description
Fields§
§extent: Extent
§visibility: Option<Visibility>
§qualifiers: FunctionQualifiers
§name: Ident
§generics: Option<GenericDeclarations>
§arguments: Vec<Argument>
§return_type: Option<Type>
§wheres: Vec<Where>
§whitespace: Vec<Whitespace>
Trait Implementations§
Source§impl Debug for FunctionHeader
impl Debug for FunctionHeader
Source§impl<'a> Index<&'a FunctionHeader> for str
impl<'a> Index<&'a FunctionHeader> for str
Source§impl Index<FunctionHeader> for str
impl Index<FunctionHeader> for str
Auto Trait Implementations§
impl Freeze for FunctionHeader
impl RefUnwindSafe for FunctionHeader
impl Send for FunctionHeader
impl Sync for FunctionHeader
impl Unpin for FunctionHeader
impl UnwindSafe for FunctionHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more