Struct embedded_layout::layout::linear::spacing::Tight [−][src]
pub struct Tight;
Expand description
Lay out objects tightly, leaving no space between them
Example:
use embedded_layout::{ layout::linear::{spacing::Tight, LinearLayout}, prelude::*, }; use embedded_graphics::{prelude::*, primitives::Line}; let _ = LinearLayout::horizontal( Views::new(&mut [ Line::new(Point::zero(), Point::new(0, 5)), Line::new(Point::zero(), Point::new(0, 5)), Line::new(Point::zero(), Point::new(0, 5)), ]) ) .with_spacing(Tight);
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Tightimpl UnwindSafe for TightBlanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
Casts the value.
Casts the value.