Skip to main content

ffmpeg_the_third/util/dictionary/
mod.rs

1mod flag;
2pub use flag::Flags;
3
4mod immutable;
5pub use immutable::DictionaryRef;
6
7mod impls;
8
9mod mutable;
10pub use mutable::DictionaryMut;
11
12mod owned;
13pub use owned::Dictionary;
14
15mod iter;
16pub use iter::Iter;
17
18#[cfg(test)]
19mod tests;
20
21#[macro_export]
22macro_rules! dict {
23    ($($key:expr => $value:expr),* $(,)*) => ({
24        let mut dict = $crate::Dictionary::new();
25
26        $(
27            dict.set($key, $value);
28        )*
29
30        dict
31    });
32}