pub struct WindowConfigBuilder { /* private fields */ }
Expand description

Builder for WindowConfig.

Implementations

Decides which corner of the window to place at (row, col).

Style of the optional window border.

Column position in units of screen cell width. May be fractional

Whether an attached GUI should display the window as an external top-level window.

Enable focus by user actions like mouse events. Non-focusable windows can be entered by set_current_win.

Window height in character cells. Minimum of 1.

If true then no buffer-related autocommand events such as BufEnter or BufLeave are fired when calling open_win.

What the window is positioned relative to.

Row position in units of screen cell height. May be fractional.

Configures the appearance of the window.

Window width in character cells. Minimum of 1.

Stacking order. Windows with higher zindex go in front of windows with lower indices.

Places window relative to buffer text (only when relative is set to WindowRelativeTo::Window(win)). Takes a zero indexed (line, column) tuple, with row and col being placed relative to this position if specified.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.