Add support for vertical alignment within table cells.

Fixes #10621
This commit is contained in:
Michael Howell 2016-04-19 14:47:55 -07:00
parent f051028ee8
commit 8953207f83
9 changed files with 184 additions and 5 deletions

View file

@ -29,6 +29,10 @@ impl FlowList {
self.flows.push_back(new_tail);
}
pub fn back(&self) -> Option<&Flow> {
self.flows.back().map(|x| &**x)
}
/// Add an element first in the list
///
/// O(1)
@ -40,6 +44,10 @@ impl FlowList {
self.flows.pop_front()
}
pub fn front(&self) -> Option<&Flow> {
self.flows.front().map(|x| &**x)
}
/// Create an empty list
#[inline]
pub fn new() -> FlowList {