Render more than one item
This commit is contained in:
parent
fa153a0d56
commit
ff15ddf3e0
3 changed files with 82 additions and 68 deletions
|
@ -145,7 +145,7 @@ impl<V> Eq for WeakView<V> {}
|
|||
#[derive(Clone, Debug)]
|
||||
pub struct AnyView {
|
||||
model: AnyModel,
|
||||
pub initialize: fn(&AnyView, &mut WindowContext) -> AnyBox,
|
||||
initialize: fn(&AnyView, &mut WindowContext) -> AnyBox,
|
||||
layout: fn(&AnyView, &mut AnyBox, &mut WindowContext) -> LayoutId,
|
||||
paint: fn(&AnyView, &mut AnyBox, &mut WindowContext),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue