pub enum MameDataType {
Mame,
Languages,
NPlayers,
Catver,
Series,
History,
Resources,
}
Expand description
Represents different types of MAME data that can be downloaded and processed.
The MameDataType
enum categorizes the various data types associated with MAME, each of which
may have specific sources, file formats, and processing requirements. This enum is used throughout
the application to identify and work with these distinct data categories.
§Variants
Mame
: Represents the core MAME data, typically including ROM information and basic metadata.Languages
: Represents data related to language support in MAME, such as localization files.NPlayers
: Represents data about the number of players supported by each game (e.g., single-player, multiplayer).Catver
: Represents category and version data, often used for classifying and organizing games.Series
: Represents data related to game series, grouping related titles together.History
: Represents historical data, trivia, and other contextual information related to games.Resources
: Represents additional resources like images, videos, and other media related to MAME games.
Variants§
Mame
Represents the core MAME data, including ROM information and basic metadata.
Languages
Represents language-specific data, such as localization files for MAME.
NPlayers
Represents data regarding the number of players supported by each game (e.g., single-player, multiplayer).
Catver
Represents category and version data used for organizing and classifying MAME games.
Series
Represents data related to game series, grouping related titles together.
History
Represents historical data, trivia, and contextual information for MAME games.
Resources
Represents additional resources like images, videos, and other media related to MAME games.
Implementations§
Source§impl MameDataType
Returns a slice containing all variants of the MameDataType
enum.
impl MameDataType
Returns a slice containing all variants of the MameDataType
enum.
This function provides a static reference to an array containing every possible variant of the MameDataType
enum.
It is useful when you need to iterate over or perform operations on all data types managed by the application.
§Returns
A static slice (&'static [MameDataType]
) containing all MameDataType
variants.
pub fn all_variants() -> &'static [MameDataType]
Trait Implementations§
Source§impl Clone for MameDataType
impl Clone for MameDataType
Source§fn clone(&self) -> MameDataType
fn clone(&self) -> MameDataType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MameDataType
impl Debug for MameDataType
Source§impl Hash for MameDataType
impl Hash for MameDataType
Source§impl PartialEq for MameDataType
impl PartialEq for MameDataType
impl Copy for MameDataType
impl Eq for MameDataType
impl StructuralPartialEq for MameDataType
Auto Trait Implementations§
impl Freeze for MameDataType
impl RefUnwindSafe for MameDataType
impl Send for MameDataType
impl Sync for MameDataType
impl Unpin for MameDataType
impl UnwindSafe for MameDataType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.