pub enum RowHeight {
Uniform(f64),
Automatic,
}Expand description
How a recycling list sizes its rows (docs/list.md).
Variants§
Uniform(f64)
Every row is this tall — a true layout boundary; the fastest path.
Automatic
Rows self-size from their content (host re-measures on change; slower).
Trait Implementations§
impl Copy for RowHeight
impl StructuralPartialEq for RowHeight
Auto Trait Implementations§
impl Freeze for RowHeight
impl RefUnwindSafe for RowHeight
impl Send for RowHeight
impl Sync for RowHeight
impl Unpin for RowHeight
impl UnsafeUnpin for RowHeight
impl UnwindSafe for RowHeight
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more