Trait freya::prelude::SizeModel

pub trait SizeModel {
    // Required method
    fn with_gaps(self, gap: &Gaps) -> Size2D<f32, Measure>;
}

Required Methods§

fn with_gaps(self, gap: &Gaps) -> Size2D<f32, Measure>

Get the size with the given gap, e.g padding.

Implementations on Foreign Types§

§

impl SizeModel for Size2D<f32, Measure>

§

fn with_gaps(self, gap: &Gaps) -> Size2D<f32, Measure>

Implementors§