Enum cursive::align::VAlign [−][src]
pub enum VAlign {
Top,
Center,
Bottom,
}
Expand description
Vertical alignment
Variants
Top
Place the element at the top of available space
Center
Place the element vertically in the center of available space
Bottom
Place the element at the bottom of available space
Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for VAlign
impl UnwindSafe for VAlign
Blanket Implementations
Mutably borrows from an owned value. Read more
Calls the given closure and return the result. Read more
Calls the given closure on self
.