Type Alias ElementRc

Source
pub type ElementRc = Rc<RefCell<Element>>;

Aliased Type§

pub struct ElementRc { /* private fields */ }

Trait Implementations§

Source§

impl LookupObject for ElementRc

Source§

fn for_each_entry<R>( &self, _ctx: &LookupCtx<'_>, f: &mut impl FnMut(&str, LookupResult) -> Option<R>, ) -> Option<R>

Will call the function for each entry (useful for completion) If the function return Some, it will immediately be returned and not called further
Source§

fn lookup(&self, _ctx: &LookupCtx<'_>, name: &str) -> Option<LookupResult>

Perform a lookup of a given identifier. One does not have to re-implement unless we can make it faster