Struct StringIndex
#[repr(transparent)]pub struct StringIndex(pub u8);Expand description
A handle for a USB string descriptor that contains its index.
Tuple Fields§
§0: u8Trait Implementations§
§impl Clone for StringIndex
impl Clone for StringIndex
§fn clone(&self) -> StringIndex
fn clone(&self) -> StringIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl PartialEq for StringIndex
impl PartialEq for StringIndex
impl Copy for StringIndex
impl Eq for StringIndex
impl StructuralPartialEq for StringIndex
Auto Trait Implementations§
impl Freeze for StringIndex
impl RefUnwindSafe for StringIndex
impl Send for StringIndex
impl Sync for StringIndex
impl Unpin for StringIndex
impl UnsafeUnpin for StringIndex
impl UnwindSafe for StringIndex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more