x_media/data.rs
1#[derive(Clone, Copy, Debug, PartialEq)]
2pub enum DataFormat {
3 Variant = 0, // Variant
4 String, // String
5}
6
7#[derive(Clone, Debug)]
8pub struct DataFrameDescription {
9 pub format: DataFormat,
10}
11
12impl DataFrameDescription {
13 pub fn new(format: DataFormat) -> Self {
14 Self {
15 format,
16 }
17 }
18}