Struct components::rendering::SliverConstraints
source · [−]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: f32Auto Trait Implementations
impl RefUnwindSafe for SliverConstraints
impl Send for SliverConstraints
impl Sync for SliverConstraints
impl Unpin for SliverConstraints
impl UnwindSafe for SliverConstraints
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.