selene-core 0.3.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
14
15
use crate::library::artist::Artist;

use super::ArtistId;

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

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