Struct fuzzy_pickles::ast::Impl
source · pub struct Impl {
pub extent: Extent,
pub is_unsafe: Option<Extent>,
pub generics: Option<GenericDeclarations>,
pub kind: ImplKind,
pub wheres: Vec<Where>,
pub body: Vec<Attributed<ImplMember>>,
pub whitespace: Vec<Whitespace>,
}
Expand description
Implementation details for a type
Example Source
ⓘ
impl Ogre { const GOLD: u8 = 200; fn health(&self) -> u16 { 42 } }
Fields§
§extent: Extent
§is_unsafe: Option<Extent>
§generics: Option<GenericDeclarations>
§kind: ImplKind
§wheres: Vec<Where>
§body: Vec<Attributed<ImplMember>>
§whitespace: Vec<Whitespace>