pub struct Item<D, S> {
pub i: usize,
pub widget_id: Id,
pub last_id: Option<Id>,
/* private fields */
}
Expand description
The data necessary for instantiating a single item within a List
.
Fields
i: usize
The index of the item within the list.
widget_id: Id
The id generated for the widget.
last_id: Option<Id>
The id used for the previous item’s widget.
Implementations
Trait Implementations
Auto Trait Implementations
impl<D, S> RefUnwindSafe for Item<D, S> where
D: RefUnwindSafe,
S: RefUnwindSafe,
impl<D, S> UnwindSafe for Item<D, S> where
D: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more