pub struct For<T: 'static, K: 'static> { /* private fields */ }Expand description
Keyed list rendering. Vue’s v-for with :key.
Items are matched by key between updates: existing rows keep their nodes and state (and are moved if needed), new keys render new rows, and rows whose key disappeared are disposed. A row is rendered once per key; put signals inside items for per-row updates.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, K> !RefUnwindSafe for For<T, K>
impl<T, K> !Send for For<T, K>
impl<T, K> !Sync for For<T, K>
impl<T, K> !UnwindSafe for For<T, K>
impl<T, K> Freeze for For<T, K>
impl<T, K> Unpin for For<T, K>
impl<T, K> UnsafeUnpin for For<T, K>where
Value<Vec<T>>: UnsafeUnpin,
Rc<dyn Fn(&T) -> K>: UnsafeUnpin,
Rc<dyn Fn(T) -> AnyView>: UnsafeUnpin,
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