[−][src]Trait sixtyfps_corelib::model::RepeatedComponent
Component that can be instantiated by a repeater.
Associated Types
Loading content...Required methods
pub fn update(&self, index: usize, data: Self::Data)
[src]
Update this component at the given index and the given data
Provided methods
pub fn listview_layout(
self: Pin<&Self>,
_offset_y: &mut f32,
_viewport_width: Pin<&Property<f32>>
)
[src]
self: Pin<&Self>,
_offset_y: &mut f32,
_viewport_width: Pin<&Property<f32>>
)
Layout this item in the listview
offset_y is the y
position where this item should be placed.
it should be updated to be to the y position of the next item.
pub fn box_layout_data<'a>(self: Pin<&'a Self>) -> BoxLayoutCellData<'a>
[src]
Returns what's needed to perform the layout if this component is in a box layout