Trait freya::prelude::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§