mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-27 04:07:25 +01:00
Add wip program tiles
This commit is contained in:
parent
3dc601e0f0
commit
6d11ee9705
7 changed files with 255 additions and 22 deletions
|
|
@ -496,6 +496,16 @@ pub struct LibraryQuery {
|
|||
pub search: String,
|
||||
}
|
||||
|
||||
impl LibraryQuery {
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.composer.is_none()
|
||||
&& self.performer.is_none()
|
||||
&& self.ensemble.is_none()
|
||||
&& self.work.is_none()
|
||||
&& self.search.is_empty()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Default, Debug)]
|
||||
pub struct LibraryResults {
|
||||
pub composers: Vec<Person>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue