freya::prelude

Trait SizeModel

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

Required Methods§

Source

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

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

Implementations on Foreign Types§

Source§

impl SizeModel for Size2D<f32, Measure>

Source§

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

Implementors§