pub struct RowMetrics {
pub insets: Insets,
pub min_height: f64,
}Expand description
The margins and minimum height a native list gives each row (Toolkit::list_row_metrics,
docs/list.md “Row metrics”): a UITableView cell’s layout margins, a Material list item’s
16dp sides and 56dp height.
Fields§
§insets: InsetsSpace between the row’s edges and its content.
min_height: f64The least height a row takes, margins included; content centers vertically in it.
Trait Implementations§
Source§impl Clone for RowMetrics
impl Clone for RowMetrics
Source§fn clone(&self) -> RowMetrics
fn clone(&self) -> RowMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RowMetrics
Source§impl Debug for RowMetrics
impl Debug for RowMetrics
Source§impl Default for RowMetrics
impl Default for RowMetrics
Source§fn default() -> RowMetrics
fn default() -> RowMetrics
Returns the “default value” for a type. Read more
Source§impl PartialEq for RowMetrics
impl PartialEq for RowMetrics
impl StructuralPartialEq for RowMetrics
Auto Trait Implementations§
impl Freeze for RowMetrics
impl RefUnwindSafe for RowMetrics
impl Send for RowMetrics
impl Sync for RowMetrics
impl Unpin for RowMetrics
impl UnsafeUnpin for RowMetrics
impl UnwindSafe for RowMetrics
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