Simplify and improve http demo app

Move demo of POST to the ehttp crate instead
This commit is contained in:
Emil Ernerfeldt
2021-10-13 11:47:57 +02:00
parent 1ab61ce9bb
commit 85941033e8
2 changed files with 93 additions and 113 deletions
+8
View File
@@ -242,6 +242,14 @@ impl Layout {
}
}
#[inline(always)]
pub fn with_main_justify(self, main_justify: bool) -> Self {
Self {
main_justify,
..self
}
}
#[inline(always)]
pub fn with_cross_justify(self, cross_justify: bool) -> Self {
Self {