Struct components::widgets::ScrollPosition
source · [−]pub struct ScrollPosition {Show 18 fields
pub allow_implicit_scrolling: bool,
pub at_edge: bool,
pub axis: Axis,
pub axis_direction: AxisDirection,
pub extent_after: f32,
pub extent_before: f32,
pub extent_inside: f32,
pub has_content_dimensions: bool,
pub has_listeners: bool,
pub has_pixels: bool,
pub has_viewport_dimension: bool,
pub have_dimensions: bool,
pub keep_scroll_offset: bool,
pub max_scroll_extent: f32,
pub min_scroll_extent: f32,
pub out_of_range: bool,
pub pixels: f32,
pub viewport_dimension: f32,
}Fields
allow_implicit_scrolling: boolat_edge: boolaxis: Axisaxis_direction: AxisDirectionextent_after: f32extent_before: f32extent_inside: f32has_content_dimensions: boolhas_listeners: boolhas_pixels: boolhas_viewport_dimension: boolhave_dimensions: boolkeep_scroll_offset: boolmax_scroll_extent: f32min_scroll_extent: f32out_of_range: boolpixels: f32viewport_dimension: f32Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ScrollPosition
impl Send for ScrollPosition
impl Sync for ScrollPosition
impl Unpin for ScrollPosition
impl UnwindSafe for ScrollPosition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value as a parameter of self.