Struct capsules::usb::StringDescriptor [] [src]

pub struct StringDescriptor<'a> {
    pub string: &'a str,
}

Fields

Trait Implementations

impl<'a> Descriptor for StringDescriptor<'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