Struct i_slint_compiler::lookup::InScopeLookup
source · pub struct InScopeLookup;
Expand description
In-scope properties, or model
Trait Implementations§
source§impl LookupObject for InScopeLookup
impl LookupObject for InScopeLookup
source§fn 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
Auto Trait Implementations§
impl RefUnwindSafe for InScopeLookup
impl Send for InScopeLookup
impl Sync for InScopeLookup
impl Unpin for InScopeLookup
impl UnwindSafe for InScopeLookup
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