pub enum GridTrack {
Fixed(f64),
}Expand description
One track of a LazyVGrid’s columns or a LazyHGrid’s rows.
Only .fixed is here. .flexible and .adaptive are the other two cases
of GridItem.Size, and each takes a pair of CGFloats with defaults
that Swift supplies at the call site rather than in the enum — so a binding
for them is a different shape, not another arm of this one.
Variants§
Trait Implementations§
impl Copy for GridTrack
impl StructuralPartialEq for GridTrack
Auto Trait Implementations§
impl Freeze for GridTrack
impl RefUnwindSafe for GridTrack
impl Send for GridTrack
impl Sync for GridTrack
impl Unpin for GridTrack
impl UnsafeUnpin for GridTrack
impl UnwindSafe for GridTrack
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more