pub enum FileState {
Replace,
Append,
AppendPlay,
}
Expand description
How a File
is inserted into the playlist.
Variants§
Replace
Replace the current track.
Append
Append to the current playlist.
AppendPlay
If current playlist is empty: play, otherwise append to playlist.
Trait Implementations§
impl Copy for FileState
impl Eq for FileState
impl StructuralPartialEq for FileState
Auto Trait Implementations§
impl Freeze for FileState
impl RefUnwindSafe for FileState
impl Send for FileState
impl Sync for FileState
impl Unpin for FileState
impl UnwindSafe for FileState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more