pub trait ProjectItem: Item {
    type Item: Item + Entity;

    // Required method
    fn for_project_item(
        project: ModelHandle<Project>,
        item: ModelHandle<Self::Item>,
        cx: &mut ViewContext<'_, '_, Self>
    ) -> Self;
}

Required Associated Types§

source

type Item: Item + Entity

Required Methods§

source

fn for_project_item( project: ModelHandle<Project>, item: ModelHandle<Self::Item>, cx: &mut ViewContext<'_, '_, Self> ) -> Self

Implementors§