Struct sktablelayout::SizeGrouping[][src]

pub struct SizeGrouping {
    pub minimum: Size,
    pub maximum: Size,
    pub preferred: Size,
}

Combines the maximum, minimum and preferred sizes for a cell.

Fields

Methods

impl SizeGrouping
[src]

Attempts to fit an item of a given size within an area, subject to layout rules specified by flags. Returns the X, Y coordinates as well as width and height of the box fitted to the area.

Trait Implementations

impl Clone for SizeGrouping
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for SizeGrouping
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations