logo
pub struct SliverConstraints {
Show 16 fields pub axis: Axis, pub axis_direction: AxisDirection, pub cache_origin: f32, pub cross_axis_direction: AxisDirection, pub cross_axis_extent: f32, pub growth_direction: GrowthDirection, pub is_normalized: bool, pub is_tight: bool, pub normalized_growth_direction: GrowthDirection, pub overlap: f32, pub preceding_scroll_extent: f32, pub remaining_cache_extent: f32, pub remaining_paint_extent: f32, pub scroll_offset: f32, pub user_scroll_direction: ScrollDirection, pub viewport_main_axis_extent: f32,
}

Fields

axis: Axisaxis_direction: AxisDirectioncache_origin: f32cross_axis_direction: AxisDirectioncross_axis_extent: f32growth_direction: GrowthDirectionis_normalized: boolis_tight: boolnormalized_growth_direction: GrowthDirectionoverlap: f32preceding_scroll_extent: f32remaining_cache_extent: f32remaining_paint_extent: f32scroll_offset: f32user_scroll_direction: ScrollDirectionviewport_main_axis_extent: f32

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.