pub fn new(player: Player) -> Self {
        Self {
            player: Some(player),
            play: false,
            stop: false,
            filename: "".into(),
            path: "".into(),
            progress: 0.0,
            duration: 0,
        }
    }
/// Create a new State for the App
Create a new State for the App
Create a new State for the App
pub fn new(player: Player) -> Self {
        Self {
            player: Some(player),
            play: false,
            stop: false,
            filename: "".into(),
            path: "".into(),
            progress: 0.0,
            duration: 0,
        }
    }
pub fn new ( player : Player ) -> Self { Self { player : Some ( player ) , play : false , stop : false , filename : " " . into ( ) , path : " " . into ( ) , progress : 0.0 , duration : 0 , } }
Create a new State for the App
Create a new State for the App
player
Player
player
Player