1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
use nutype_enum::nutype_enum; nutype_enum! { /// ISO/IEC 23008-2 - Table E.2 pub enum VideoFormat(u8) { /// Component Component = 0, /// PAL PAL = 1, /// NTSC NTSC = 2, /// SECAM SECAM = 3, /// MAC MAC = 4, /// Unspecified video format Unspecified = 5, } }