pub struct LayoutForEach<'a, 'bp> { /* private fields */ }Implementations§
Source§impl<'a, 'bp> LayoutForEach<'a, 'bp>
impl<'a, 'bp> LayoutForEach<'a, 'bp>
pub fn new( tree: WidgetTreeView<'a, 'bp>, scope: &'a Scope<'a, 'bp>, filter: LayoutFilter, parent_component: Option<WidgetId>, ) -> Self
pub fn each<F>(
&mut self,
ctx: &mut LayoutCtx<'_, 'bp>,
f: F,
) -> Result<ControlFlow<()>>where
F: FnMut(&mut LayoutCtx<'_, 'bp>, &mut Element<'bp>, LayoutForEach<'_, 'bp>) -> Result<ControlFlow<()>>,
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'bp> Freeze for LayoutForEach<'a, 'bp>
impl<'a, 'bp> !RefUnwindSafe for LayoutForEach<'a, 'bp>
impl<'a, 'bp> !Send for LayoutForEach<'a, 'bp>
impl<'a, 'bp> !Sync for LayoutForEach<'a, 'bp>
impl<'a, 'bp> Unpin for LayoutForEach<'a, 'bp>
impl<'a, 'bp> UnsafeUnpin for LayoutForEach<'a, 'bp>
impl<'a, 'bp> !UnwindSafe for LayoutForEach<'a, 'bp>
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