Struct KeyedProps
pub struct KeyedProps<T, K, U, List, F, Key>where
List: Into<MaybeDyn<Vec<T>>> + 'static,
F: Fn(T) -> U + 'static,
Key: Fn(&T) -> K + 'static,
T: 'static,{ /* private fields */ }
Expand description
Props for Keyed
.
Trait Implementations§
§impl<T, K, U, List, F, Key> Props for KeyedProps<T, K, U, List, F, Key>
impl<T, K, U, List, F, Key> Props for KeyedProps<T, K, U, List, F, Key>
§fn builder() -> <KeyedProps<T, K, U, List, F, Key> as Props>::Builder
fn builder() -> <KeyedProps<T, K, U, List, F, Key> as Props>::Builder
Create a builder for building KeyedProps
.
On the builder, call .list(...)
, .view(...)
, .key(...)
, ._phantom(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of KeyedProps
.
Auto Trait Implementations§
impl<T, K, U, List, F, Key> Freeze for KeyedProps<T, K, U, List, F, Key>
impl<T, K, U, List, F, Key> RefUnwindSafe for KeyedProps<T, K, U, List, F, Key>where
List: RefUnwindSafe,
F: RefUnwindSafe,
Key: RefUnwindSafe,
T: RefUnwindSafe,
K: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, K, U, List, F, Key> Send for KeyedProps<T, K, U, List, F, Key>
impl<T, K, U, List, F, Key> Sync for KeyedProps<T, K, U, List, F, Key>
impl<T, K, U, List, F, Key> Unpin for KeyedProps<T, K, U, List, F, Key>
impl<T, K, U, List, F, Key> UnwindSafe for KeyedProps<T, K, U, List, F, Key>where
List: UnwindSafe,
F: UnwindSafe,
Key: UnwindSafe,
T: UnwindSafe,
K: UnwindSafe,
U: UnwindSafe,
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