pub struct Spacing {
pub inset: f32,
pub gap: f32,
pub compact_gap: f32,
pub control_height: f32,
pub stroke: f32,
}Expand description
Raw logical metrics. Gaps/inset 0..=4096, stroke 1..=64, control height
44..=4096 and at least body + 2 * compact_gap. A minimum layout request,
not a text measurement/fit guarantee. Reflow/overflow remains consumer-owned.
Fields§
§inset: f32§gap: f32§compact_gap: f32§control_height: f32§stroke: f32Trait Implementations§
impl Copy for Spacing
impl StructuralPartialEq for Spacing
Auto Trait Implementations§
impl Freeze for Spacing
impl RefUnwindSafe for Spacing
impl Send for Spacing
impl Sync for Spacing
impl Unpin for Spacing
impl UnwindSafe for Spacing
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