pub struct StatRowsStyle {
pub label: TextStyle,
pub value: TextStyle,
pub description: TextStyle,
pub column_gap: f32,
pub row_gap: f32,
pub stack_gap: f32,
pub description_gap: f32,
}Expand description
Fixed text sizes and nonnegative gaps, all in logical units. Each block
honors color/alignment/shadow; wrap is ignored and always enabled. Defaults
use size 18 for every block. No automatic font-size/accessibility policy is
imposed; choose a readable size and responsive viewport in the consumer.
Fields§
§label: TextStyle§value: TextStyle§description: TextStyle§column_gap: f32§row_gap: f32§stack_gap: f32§description_gap: f32Trait Implementations§
Source§impl Clone for StatRowsStyle
impl Clone for StatRowsStyle
Source§fn clone(&self) -> StatRowsStyle
fn clone(&self) -> StatRowsStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatRowsStyle
impl Debug for StatRowsStyle
Source§impl Default for StatRowsStyle
impl Default for StatRowsStyle
Source§fn default() -> StatRowsStyle
fn default() -> StatRowsStyle
Returns the “default value” for a type. Read more
impl Copy for StatRowsStyle
Auto Trait Implementations§
impl Freeze for StatRowsStyle
impl RefUnwindSafe for StatRowsStyle
impl Send for StatRowsStyle
impl Sync for StatRowsStyle
impl Unpin for StatRowsStyle
impl UnwindSafe for StatRowsStyle
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