logo
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: f32

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Typed getter

Inspect the context.

Inspect the context.

Inspect the context.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert into color

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Sets value as a parameter of self.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.