pub struct ImplItemMap<'t> {
pub consts: HashMap<Ident, &'t ImplItemConst>,
pub fns: HashMap<Ident, &'t ImplItemFn>,
pub types: HashMap<Ident, &'t ImplItemType>,
}
Expand description
Indexes items in an impl block by namespaced identifier.
Fields§
§consts: HashMap<Ident, &'t ImplItemConst>
Associated constants in the implementation.
fns: HashMap<Ident, &'t ImplItemFn>
Associated functions in the implementation.
types: HashMap<Ident, &'t ImplItemType>
Associated types in the implementation.
Implementations§
Trait Implementations§
Source§impl<'t> Default for ImplItemMap<'t>
impl<'t> Default for ImplItemMap<'t>
Source§fn default() -> ImplItemMap<'t>
fn default() -> ImplItemMap<'t>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'t> Freeze for ImplItemMap<'t>
impl<'t> RefUnwindSafe for ImplItemMap<'t>
impl<'t> !Send for ImplItemMap<'t>
impl<'t> !Sync for ImplItemMap<'t>
impl<'t> Unpin for ImplItemMap<'t>
impl<'t> UnwindSafe for ImplItemMap<'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