pub struct ScrollViewOptions {
pub axis: Option<ScrollAxis>,
pub follow: FollowMode,
pub primary: bool,
pub overscroll: OverscrollMode,
pub scrollbar: ScrollbarMode,
pub scrollbar_hide_delay_ms: Option<u64>,
}Expand description
Options for ScrollView.
Fields§
§axis: Option<ScrollAxis>Axis for scrolling (only vertical is currently supported).
follow: FollowModeFollow mode for automatic scrolling.
primary: boolDesignate this view as the fallback target for global scroll actions.
overscroll: OverscrollModeOverscroll behavior.
scrollbar: ScrollbarModeScrollbar visibility.
scrollbar_hide_delay_ms: Option<u64>Delay in milliseconds before hiding auto scrollbar.
Trait Implementations§
Source§impl Clone for ScrollViewOptions
impl Clone for ScrollViewOptions
Source§impl Debug for ScrollViewOptions
impl Debug for ScrollViewOptions
Auto Trait Implementations§
impl Freeze for ScrollViewOptions
impl RefUnwindSafe for ScrollViewOptions
impl Send for ScrollViewOptions
impl Sync for ScrollViewOptions
impl Unpin for ScrollViewOptions
impl UnsafeUnpin for ScrollViewOptions
impl UnwindSafe for ScrollViewOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more