WIP: Icons not yet rendering

This commit is contained in:
Nathan Sobo 2023-09-05 16:40:52 -06:00
parent 6cb9cf70b7
commit 85aedf9bed
8 changed files with 126 additions and 29 deletions

View file

@ -5,7 +5,7 @@ use gpui::geometry::vector::Vector2F;
pub use gpui::{Layout, LayoutId};
use smallvec::SmallVec;
pub trait Element<V: 'static>: 'static {
pub trait Element<V: 'static>: 'static + IntoElement<V> {
type PaintState;
fn layout(