Struct sktablelayout::Size[][src]

pub struct Size {
    pub width: f32,
    pub height: f32,
}

Individual size constraint for a cell.

Fields

Methods

impl Size
[src]

Divides the width and height by a given division level. Used when a size must be spread across multiple table cells.

Adds padding from a supplied padding rectangle.

Returns whether this size should fit within another size.

Trait Implementations

impl Clone for Size
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Size

impl Sync for Size