pub trait Scrollable {
    fn snap_to(&mut self, percentage: f32);
}
Expand description

The internal state of a widget that can be scrolled.

Required Methods§

Snaps the scroll of the widget to the given percentage.

Implementors§