Struct split_controller::SplitLayoutSettings [] [src]

pub struct SplitLayoutSettings {
    pub border: f64,
    pub center_min_size: [f64; 2],
    pub left_value: f64,
    pub left_min_value: f64,
    pub right_value: f64,
    pub right_min_value: f64,
    pub top_value: f64,
    pub top_min_value: f64,
    pub bottom_value: f64,
    pub bottom_min_value: f64,
    pub lock_left: bool,
    pub lock_right: bool,
    pub lock_top: bool,
    pub lock_bottom: bool,
}

Stores split layout settings.

Fields

The border width.

The minimum size of center.

The initial value for left split.

The minimum value for left split.

The initial value for right split.

The minimum value for right split.

The initial value for top split.

The minimum value for top split.

The initial value for bottom split.

The minimum value for bottom split.

Locks left split.

Locks right split.

Locks top split.

Locks bottom split.

Methods

impl SplitLayoutSettings
[src]

Creates a new SplitLayoutSettings object with values set to minimum.

Work area minimum size is set to 1x1.

Set the value and minimum value for left split.

Sets the value and minimum value for right split.

Sets the value and minimum value for top split.

Sets the value and minimum value for bottom split.

Locks left split, sets the minimum value at the same time.

Locks right split, sets the minimum value at the same time.

Locks top split, sets the minimum value at the same time.

Locks bottom split, sets the minimum value at the same time.

Trait Implementations

impl Copy for SplitLayoutSettings
[src]

impl Clone for SplitLayoutSettings
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SplitLayoutSettings
[src]

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

This method tests for !=.

impl Debug for SplitLayoutSettings
[src]

Formats the value using the given formatter.