pub enum PlayerType {
MPV,
VLC,
Other,
}Variants§
Implementations§
Source§impl PlayerType
impl PlayerType
pub fn build_command(&self, file: &str, config: &Configs) -> Command
Trait Implementations§
Source§impl Debug for PlayerType
impl Debug for PlayerType
Source§impl<'de> Deserialize<'de> for PlayerType
impl<'de> Deserialize<'de> for PlayerType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PlayerType
impl Display for PlayerType
Auto Trait Implementations§
impl Freeze for PlayerType
impl RefUnwindSafe for PlayerType
impl Send for PlayerType
impl Sync for PlayerType
impl Unpin for PlayerType
impl UnwindSafe for PlayerType
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