1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use super::*; pub const EMPTY: UiRef = UiRef(0); #[derive(Debug)] pub(crate) struct Empty; impl UiNode for Empty { fn preferred_dimensions(&self) -> Vec2 { Vec2::ZERO } fn draw(&self, _: Area, _: &UiState) -> Vec2 { Vec2::ZERO } }