Enum cursive::align::VAlign
[−]
[src]
pub enum VAlign { Top, Center, Bottom, }
Vertical alignment
Variants
Top
Center
Bottom
Methods
impl VAlign
[src]
fn get_offset(&self, content: usize, container: usize) -> usize
To draw a view with size content
in a printer with size container
, this returns the
offset to start printing the view at.