pub struct LazyList { /* private fields */ }Expand description
A lazy list and its builder.
Implementations§
Source§impl LazyList
impl LazyList
pub fn modifier(self, modifier: Modifier) -> Self
Sourcepub fn columns(self, columns: u32) -> Self
pub fn columns(self, columns: u32) -> Self
A grid’s fixed number of columns. Compose’s GridCells.Fixed.
Sourcepub fn min_column_width(self, dp: f32) -> Self
pub fn min_column_width(self, dp: f32) -> Self
The narrowest a grid column may be. Compose’s GridCells.Adaptive.
Sourcepub fn content(self, build: impl FnOnce(&mut LazyListScope))
pub fn content(self, build: impl FnOnce(&mut LazyListScope))
Composes the list with the items build declares.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LazyList
impl RefUnwindSafe for LazyList
impl Send for LazyList
impl Sync for LazyList
impl Unpin for LazyList
impl UnsafeUnpin for LazyList
impl UnwindSafe for LazyList
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