Skip to main content

mps/elements/
note.rs

1use super::split_args;
2
3#[derive(Debug, Clone)]
4pub struct NoteData {
5    pub tags: Vec<String>,
6}
7
8impl NoteData {
9    pub fn parse_args(raw: &str) -> Self {
10        NoteData { tags: split_args(raw).tags }
11    }
12}