Enum game_music_emu::EmuType[][src]

pub enum EmuType {
    Ay,
    Gbs,
    Gym,
    Hes,
    Kss,
    Nsf,
    Nsfe,
    Sap,
    Spc,
    Vgm,
    Vgz,
}

All supported emulator types

Variants

Ay
Gbs
Gym
Hes
Kss
Nsf
Nsfe
Sap
Spc
Vgm
Vgz

Vgz comes with Vgm

Implementations

impl EmuType[src]

pub fn from_extension(value: &str) -> EmuType[src]

Get an EmuType from a file extension

pub fn to_extension(&self) -> &'static str[src]

Get a file extension from an EmuType

Trait Implementations

impl Clone for EmuType[src]

impl Copy for EmuType[src]

impl Debug for EmuType[src]

impl Eq for EmuType[src]

impl Ord for EmuType[src]

impl PartialEq<EmuType> for EmuType[src]

impl PartialOrd<EmuType> for EmuType[src]

impl StructuralEq for EmuType[src]

impl StructuralPartialEq for EmuType[src]

Auto Trait Implementations

impl RefUnwindSafe for EmuType

impl Send for EmuType

impl Sync for EmuType

impl Unpin for EmuType

impl UnwindSafe for EmuType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.