diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-11-17 20:57:50 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-11-17 20:57:50 +0100 |
| commit | 14259c7d09c12327b18aba21cc577e68ad283eda (patch) | |
| tree | 0f9a7a138141e84cfcb8691f41e29f7493879eab /src/layout/mod.rs | |
| parent | f6cb4d725ee6e4fd09b92b5af7348d11ac951b10 (diff) | |
Fix alignment bugs ✔
Diffstat (limited to 'src/layout/mod.rs')
| -rw-r--r-- | src/layout/mod.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index fb63ff86..a4514704 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -41,15 +41,6 @@ pub struct Layout { } impl Layout { - /// Create an empty layout with the specified dimensions. - pub fn empty(width: Size, height: Size) -> Layout { - Layout { - dimensions: Size2D::new(width, height), - actions: vec![], - debug_render: true, - } - } - /// Serialize this layout into an output buffer. pub fn serialize<W: Write>(&self, f: &mut W) -> io::Result<()> { writeln!( |
