pub struct SliverGridDelegateWithFixedCrossAxisCount {
pub child_aspect_ratio: f32,
pub cross_axis_count: usize,
pub cross_axis_spacing: f32,
pub main_axis_extent: f32,
pub main_axis_spacing: f32,
}
Fields
child_aspect_ratio: f32
cross_axis_count: usize
cross_axis_spacing: f32
main_axis_extent: f32
main_axis_spacing: f32
Trait Implementations
sourceimpl SliverGridDelegate for SliverGridDelegateWithFixedCrossAxisCount
impl SliverGridDelegate for SliverGridDelegateWithFixedCrossAxisCount
fn get_layout(
&self,
constraints: SliverConstraints
) -> Box<dyn SliverGridLayout>
fn should_relayout(&self, old_delegate: Box<dyn SliverGridDelegate>) -> bool
Auto Trait Implementations
impl RefUnwindSafe for SliverGridDelegateWithFixedCrossAxisCount
impl Send for SliverGridDelegateWithFixedCrossAxisCount
impl Sync for SliverGridDelegateWithFixedCrossAxisCount
impl Unpin for SliverGridDelegateWithFixedCrossAxisCount
impl UnwindSafe for SliverGridDelegateWithFixedCrossAxisCount
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
.