Skip to main content

ScrollState

Type Alias ScrollState 

Source
pub type ScrollState = ScrollState<f32>;

Aliased Type§

pub struct ScrollState {
    pub offset: f32,
    pub content_extent: f32,
    pub viewport_extent: f32,
    /* private fields */
}

Fields§

§offset: f32

scroll position which may temporarily be outside the scrollable range after a request

§content_extent: f32§viewport_extent: f32