Struct fuzzy_pickles::ast::ImplOfTrait
source · pub struct ImplOfTrait {
pub extent: Extent,
pub is_negative: Option<Extent>,
pub trait_name: Type,
pub type_name: ImplOfTraitType,
pub whitespace: Vec<Whitespace>,
}
Expand description
An implementation of a trait for a type
Example Source
ⓘ
impl Monster for Ogre { }
// ^^^^^^^^^^^^^^^^
Fields§
§extent: Extent
§is_negative: Option<Extent>
§trait_name: Type
§type_name: ImplOfTraitType
§whitespace: Vec<Whitespace>