Enum cursive::align::HAlign [−][src]
pub enum HAlign {
Left,
Center,
Right,
}
Expand description
Horizontal alignment
Variants
Left
Place the element to the left of available space
Center
Place the element horizontally in the center of available space
Right
Place the element to the right 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 HAlign
impl UnwindSafe for HAlign
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
.