Enum cursive::align::VAlign [] [src]

pub enum VAlign {
    Top,
    Center,
    Bottom,
}

Vertical alignment

Variants

Place the element at the top of available space

Place the element vertically in the center of available space

Place the element at the bottom of available space

Methods

impl VAlign
[src]

[src]

Returns the offset required to position a view.

When drawing a view with size content when the available size is container, printing at the resulting offset will align the view as desired.

Trait Implementations

impl Debug for VAlign
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for VAlign

impl Sync for VAlign