Trait zng_wgt_scroll::cmd::ScrollToTargetProvider

source ·
pub trait ScrollToTargetProvider {
    // Required method
    fn find_target(self) -> Option<WidgetInfo>;
}
Expand description

Provides a target for scroll-to command methods.

Implemented for "widget-id", WidgetId and WidgetInfo.

Required Methods§

source

fn find_target(self) -> Option<WidgetInfo>

Find the target info.

Implementations on Foreign Types§

source§

impl ScrollToTargetProvider for &'static str

source§

impl ScrollToTargetProvider for WidgetInfo

source§

impl ScrollToTargetProvider for WidgetId

Implementors§