Struct usb_device::bus::StringIndex
source · [−]pub struct StringIndex(_);
Expand description
A handle for a USB string descriptor that contains its index.
Trait Implementations
sourceimpl Clone for StringIndex
impl Clone for StringIndex
sourcefn clone(&self) -> StringIndex
fn clone(&self) -> StringIndex
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl From<StringIndex> for u8
impl From<StringIndex> for u8
sourcefn from(i: StringIndex) -> u8
fn from(i: StringIndex) -> u8
Converts to this type from the input type.
sourceimpl PartialEq<StringIndex> for StringIndex
impl PartialEq<StringIndex> for StringIndex
sourcefn eq(&self, other: &StringIndex) -> bool
fn eq(&self, other: &StringIndex) -> bool
impl Copy for StringIndex
impl Eq for StringIndex
impl StructuralEq for StringIndex
impl StructuralPartialEq for StringIndex
Auto Trait Implementations
impl RefUnwindSafe for StringIndex
impl Send for StringIndex
impl Sync for StringIndex
impl Unpin for StringIndex
impl UnwindSafe for StringIndex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more