pub struct PluginList(pub HashMap<TypeId, FeatureMap>);
Tuple Fields§
§0: HashMap<TypeId, FeatureMap>
Implementations§
Source§impl PluginList
impl PluginList
pub fn require<'a, 'b, T: 'static, F>(&'a mut self, f: F) -> &'b mut FeatureMapwhere
F: FnOnce(&mut Self) -> FeatureMap,
'a: 'b,
pub fn list<'a, B: Debug + 'static>( &'a mut self, ) -> impl Iterator<Item = &'a mut B>
Trait Implementations§
Source§impl Debug for PluginList
impl Debug for PluginList
Source§impl Default for PluginList
impl Default for PluginList
Source§fn default() -> PluginList
fn default() -> PluginList
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PluginList
impl !RefUnwindSafe for PluginList
impl !Send for PluginList
impl !Sync for PluginList
impl Unpin for PluginList
impl !UnwindSafe for PluginList
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