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: Axis
axis_direction: AxisDirection
cache_origin: f32
cross_axis_direction: AxisDirection
cross_axis_extent: f32
growth_direction: GrowthDirection
is_normalized: bool
is_tight: bool
normalized_growth_direction: GrowthDirection
overlap: f32
preceding_scroll_extent: f32
remaining_cache_extent: f32
remaining_paint_extent: f32
scroll_offset: f32
user_scroll_direction: ScrollDirection
viewport_main_axis_extent: f32
Auto 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
.