mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-14 06:32:33 +00:00
Make MimeType
non-exhaustive
This commit is contained in:
parent
b3e71729da
commit
3cb1cf7aed
1 changed files with 2 additions and 1 deletions
|
@ -49,8 +49,9 @@ pub const APE_PICTURE_TYPES: [&str; 21] = [
|
||||||
"Cover Art (Publisher Logotype)",
|
"Cover Art (Publisher Logotype)",
|
||||||
];
|
];
|
||||||
|
|
||||||
/// Mime types for pictures.
|
|
||||||
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
|
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
|
||||||
|
#[non_exhaustive]
|
||||||
|
/// Mime types for pictures.
|
||||||
pub enum MimeType {
|
pub enum MimeType {
|
||||||
/// PNG image
|
/// PNG image
|
||||||
Png,
|
Png,
|
||||||
|
|
Loading…
Reference in a new issue