pub struct ForProps<T, K, I, F, KFn>where
I: IntoIterator<Item = T> + 'static,
F: Fn(T) -> View + 'static,
KFn: Fn(&T) -> K + 'static,
K: Display + 'static,{
pub each: Box<dyn Fn() -> I + 'static>,
pub key: KFn,
pub view: F,
}Expand description
Properties for For component.
Fields§
§each: Box<dyn Fn() -> I + 'static>§key: KFn§view: FAuto Trait Implementations§
impl<T, K, I, F, KFn> !RefUnwindSafe for ForProps<T, K, I, F, KFn>
impl<T, K, I, F, KFn> !Send for ForProps<T, K, I, F, KFn>
impl<T, K, I, F, KFn> !Sync for ForProps<T, K, I, F, KFn>
impl<T, K, I, F, KFn> !UnwindSafe for ForProps<T, K, I, F, KFn>
impl<T, K, I, F, KFn> Freeze for ForProps<T, K, I, F, KFn>
impl<T, K, I, F, KFn> Unpin for ForProps<T, K, I, F, KFn>
impl<T, K, I, F, KFn> UnsafeUnpin for ForProps<T, K, I, F, KFn>where
KFn: UnsafeUnpin,
F: 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