Skip to main content

RowActionRects

Trait RowActionRects 

pub trait RowActionRects {
    // Required method
    fn row_action_rects(&self) -> Vec<Rect>;
}
Expand description

A row widget says where its own hover actions stand, so the list reports the place to press one without knowing what the host built its row of (VirtualList::row_action_rect). A row without actions provides none; ListRow provides its own.

Required Methods§

fn row_action_rects(&self) -> Vec<Rect>

Where the row’s hover actions stand on screen, in the order it shows them: what a host presses to reach one from a script or a test.

Implementors§