Skip to main content

TraitDeclRegistry

Type Alias TraitDeclRegistry 

Source
pub type TraitDeclRegistry = HashMap<String, TraitDeclInfo>;
Expand description

Maps a trait’s declared name to its TraitDeclInfo. Trait names are globally unique within a Bock program, so a flat map keyed by the bare name resolves every impl Trait for Type block to its trait.

Aliased Type§

pub struct TraitDeclRegistry { /* private fields */ }