Struct fuzzy_pickles::ast::ImplFunction
source · pub struct ImplFunction {
pub extent: Extent,
pub header: FunctionHeader,
pub body: Block,
pub whitespace: Vec<Whitespace>,
}
Expand description
A function in an implementation block
Example Source
ⓘ
impl Ogre { fn roar(&self) {} }
// ^^^^^^^^^^^^^^^^^
Fields§
§extent: Extent
§header: FunctionHeader
§body: Block
§whitespace: Vec<Whitespace>