None
DE
Zed Weekly: #25
[]
Zed Industries - Blog
pub struct View < V : Render > { pub ( crate ) model : Model < V >, } pub trait Render : ' static + Sized { type Element : Element < Self > + ' static ; fn render (& mut self , cx : & mut ViewContext < Self >) -> Self :: Element ; } struct Hello { user : SharedString , } impl Render for Hello { type Element = Div < Self >; // fn render (& mut self , cx : & mut ViewContext < Self >) -> Self :: Element { let color = cx . run ( | cx | { settings :: init ( cx ); theme :: init ( cx ); cx .