some bare minimum trait work for songs

This commit is contained in:
Chris Cochrun 2024-10-07 10:45:49 -05:00
parent c8bb484a53
commit de34c6818a
6 changed files with 236 additions and 26 deletions

View file

@ -1,5 +1,17 @@
use std::path::PathBuf;
#[derive(Clone, Debug, Default, PartialEq)]
pub struct Video {
title: String
title: String,
path: PathBuf,
start_time: f32,
end_time: f32,
looping: bool,
}
#[derive(Clone, Debug, Default, PartialEq)]
pub struct VideoModel {
videos: Vec<Video>
}
#[cfg(test)]