//! CDC Header descriptors
/// CDC Header functional descriptor
////// See section of 5.2.3.1 of (USBCDC1.2)
pubstructDescriptor{/// Communications Devices Specification release number (Binary-coded Decimal)
pubbcdCDC:u16,
}implDescriptor{/// The size of this descriptor on the wire
pubconstSIZE:u8=5;/// Returns the wire representation of this device endpoint
pubfnbytes(&self)->[u8;Self::SIZEasusize]{[Self::SIZE,super::CS_INTERFACE,super::SUBTYPE_HEADER,self.bcdCDC asu8,(self.bcdCDC >>8)asu8,]}}