selene-core 0.8.1

selene-core is the backend for Selene, a local-first music player
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::library::artist::{Artist, ArtistId};

impl Artist {
    #[must_use]
    pub fn name(&self) -> &str {
        &self.name
    }

    #[must_use]
    pub fn id(&self) -> ArtistId {
        self.id
    }
}