pub struct TraitItemMap<'t> {
pub consts: HashMap<Ident, &'t TraitItemConst>,
pub fns: HashMap<Ident, &'t TraitItemFn>,
pub types: HashMap<Ident, &'t TraitItemType>,
}Expand description
Indexes items in a trait by namespaced identifier.
Fields§
§consts: HashMap<Ident, &'t TraitItemConst>Associated constants in the trait.
fns: HashMap<Ident, &'t TraitItemFn>Associated functions in the trait.
types: HashMap<Ident, &'t TraitItemType>Associated types in the trait.
Implementations§
Trait Implementations§
Source§impl<'t> Default for TraitItemMap<'t>
impl<'t> Default for TraitItemMap<'t>
Source§fn default() -> TraitItemMap<'t>
fn default() -> TraitItemMap<'t>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'t> Freeze for TraitItemMap<'t>
impl<'t> RefUnwindSafe for TraitItemMap<'t>
impl<'t> !Send for TraitItemMap<'t>
impl<'t> !Sync for TraitItemMap<'t>
impl<'t> Unpin for TraitItemMap<'t>
impl<'t> UnwindSafe for TraitItemMap<'t>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more