1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
mod properties;
mod read;
pub(crate) mod write;
#[cfg(feature = "id3v2")]
use crate::id3::v2::tag::ID3v2Tag;
use crate::properties::FileProperties;
use lofty_attr::LoftyFile;
cfg_if::cfg_if! {
if #[cfg(feature = "aiff_text_chunks")] {
pub(crate) mod tag;
use tag::AIFFTextChunks;
}
}
#[derive(LoftyFile)]
#[lofty(read_fn = "read::read_from")]
pub struct AiffFile {
#[cfg(feature = "aiff_text_chunks")]
#[lofty(tag_type = "AIFFText")]
pub(crate) text_chunks_tag: Option<AIFFTextChunks>,
#[cfg(feature = "id3v2")]
#[lofty(tag_type = "ID3v2")]
pub(crate) id3v2_tag: Option<ID3v2Tag>,
pub(crate) properties: FileProperties,
}