Struct rustc_ap_rustc_ast::ast::FnHeader [−][src]
pub struct FnHeader { pub unsafety: Unsafe, pub asyncness: Async, pub constness: Const, pub ext: Extern, }
Expand description
A function header.
All the information between the visibility and the name of the function is
included in this struct (e.g., async unsafe fn
or const extern "C" fn
).
Fields
unsafety: Unsafe
asyncness: Async
constness: Const
ext: Extern
Implementations
Does this function header have any qualifiers or is it empty?
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FnHeader
impl UnwindSafe for FnHeader
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V