use crate::{Vec2, View, Widget}; pub struct Empty {} impl Empty { pub fn new() -> Self { Self {} } } impl Default for Empty { fn default() -> Self { Self::new() } } impl Widget for Empty { fn size(&self, _max_width: Option, _max_height: Option) -> Vec2 { Vec2::ZERO } fn draw(self, _view: &mut View<'_, C>) {} }