Struct capsules::usb::LanguagesDescriptor [] [src]

pub struct LanguagesDescriptor<'a> {
    pub langs: &'a [u16],
}

Fields

Trait Implementations

impl<'a> Descriptor for LanguagesDescriptor<'a>
[src]

[src]

Serialized size of Descriptor

[src]

Same as write_to(), but doesn't check that buf is long enough before indexing into it. This should be used only if the result of size() is first consulted. Read more

[src]

Serialize the descriptor to a buffer for transmission on the bus