Struct flo_ui::control::Bounds [] [src]

pub struct Bounds {
    pub x1: Position,
    pub y1: Position,
    pub x2: Position,
    pub y2: Position,
}

Represents the bounds of a particular control

Fields

Methods

impl Bounds
[src]

[src]

Creates a bounding box that fills a container

[src]

Bounding box that fills the container vertically and follows the previous control horizontally

[src]

Bounding box that fills the container horizontally and follows the previous control horizontally

[src]

Bounding box that fills the remaining horizontal space

[src]

Bounding box that stretchs to occupy the remaining horizontal space

[src]

Bounding box that fills the remaining vertical space

Trait Implementations

impl Clone for Bounds
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Bounds
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Bounds
[src]

[src]

Formats the value using the given formatter. Read more

impl Modifier<Control> for Bounds
[src]

[src]

Modify F with self.

Auto Trait Implementations

impl Send for Bounds

impl Sync for Bounds