Type Definition i_slint_compiler::object_tree::ElementRc
source · [−]Trait Implementations
sourceimpl LookupObject for ElementRc
impl LookupObject for ElementRc
sourcefn for_each_entry<R>(
&self,
_ctx: &LookupCtx<'_>,
f: &mut impl FnMut(&str, LookupResult) -> Option<R>
) -> Option<R>
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 Read more