Struct sycamore::flow::KeyedProps [−][src]
pub struct KeyedProps<T: 'static, F, G: GenericNode, K, Key> where
F: Fn(T) -> Template<G>,
K: Fn(&T) -> Key,
Key: Clone + Hash + Eq,
T: Clone + PartialEq, { pub iterable: StateHandle<Vec<T>>, pub template: F, pub key: K, }
Expand description
Props for Keyed
.
Fields
iterable: StateHandle<Vec<T>>
template: F
key: K
Auto Trait Implementations
impl<T, F, G, K, Key> !RefUnwindSafe for KeyedProps<T, F, G, K, Key>
impl<T, F, G, K, Key> !Send for KeyedProps<T, F, G, K, Key>
impl<T, F, G, K, Key> !Sync for KeyedProps<T, F, G, K, Key>
impl<T, F, G, K, Key> Unpin for KeyedProps<T, F, G, K, Key> where
F: Unpin,
K: Unpin,
impl<T, F, G, K, Key> !UnwindSafe for KeyedProps<T, F, G, K, Key>