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§
Sourcefn find_target(self) -> Option<WidgetInfo>
fn find_target(self) -> Option<WidgetInfo>
Find the target info.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".