Crate cursive_flexbox

Source
Expand description

A flexbox layout implementation for the Rust Cursive TUI library that tries to adhere to the CSS3 specification as much as possible and where it makes sense for a TUI. Users who are already familiar with it should feel right at home working with this library.

Modules§

prelude

Structs§

FlexItem
A single item in a Flexbox.
Flexbox
A container that can be used to display a list of items in a flexible way.

Enums§

AlignContent
Alignment of the main axes in a flexbox.
AlignItems
Alignment of items in a flexbox along the cross axis.
FlexDirection
Direction of a flex container’s main axis.
FlexWrap
Wrapping behavior and direction of a flexbox container’s main axis.
JustifyContent
Alignment of items in a flexbox along the main axis.