output: remove RenderBox
Some checks are pending
/ build (push) Waiting to run

This commit is contained in:
🪞👃🪞 2025-09-06 11:18:39 +03:00
parent 1c21a85f27
commit 194f2f9874
7 changed files with 16 additions and 29 deletions

View file

@ -31,13 +31,6 @@ impl<E: Output, T: Content<E>> Content<E> for Option<T> {
}
}
/// You can render from a box.
impl<E: Output> Content<E> for RenderBox<E> {
fn content (&self) -> Option<impl Render<E> + '_> {
Some(self.deref())
}
}
/// You can render from an opaque pointer.
impl<E: Output> Content<E> for &dyn Render<E> where Self: Sized {
fn content (&self) -> Option<impl Render<E> + '_> {