diff options
Diffstat (limited to 'library/src/shared')
| -rw-r--r-- | library/src/shared/ext.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/library/src/shared/ext.rs b/library/src/shared/ext.rs index bda4b671..3e600b8d 100644 --- a/library/src/shared/ext.rs +++ b/library/src/shared/ext.rs @@ -16,9 +16,6 @@ pub trait ContentExt { /// Link the content to a destination. fn linked(self, dest: Destination) -> Self; - /// Force a size for this content. - fn boxed(self, sizing: Axes<Option<Rel<Length>>>) -> Self; - /// Set alignments for this content. fn aligned(self, aligns: Axes<Option<GenAlign>>) -> Self; @@ -52,10 +49,6 @@ impl ContentExt for Content { self.styled(Meta::DATA, vec![Meta::Link(dest.clone())]) } - fn boxed(self, sizing: Axes<Option<Rel<Length>>>) -> Self { - crate::layout::BoxNode { sizing, body: self }.pack() - } - fn aligned(self, aligns: Axes<Option<GenAlign>>) -> Self { self.styled(crate::layout::AlignNode::ALIGNS, aligns) } |
