pub struct InterfaceInfo {
pub id: u8,
pub class: u8,
pub subclass: u8,
pub protocol: u8,
}Expand description
USB interface class/subclass/protocol summary used for probing.
Fields§
§id: u8§class: u8§subclass: u8§protocol: u8Trait Implementations§
Source§impl Clone for InterfaceInfo
impl Clone for InterfaceInfo
Source§fn clone(&self) -> InterfaceInfo
fn clone(&self) -> InterfaceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InterfaceInfo
Source§impl Debug for InterfaceInfo
impl Debug for InterfaceInfo
impl Eq for InterfaceInfo
Source§impl PartialEq for InterfaceInfo
impl PartialEq for InterfaceInfo
Source§fn eq(&self, other: &InterfaceInfo) -> bool
fn eq(&self, other: &InterfaceInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterfaceInfo
Auto Trait Implementations§
impl Freeze for InterfaceInfo
impl RefUnwindSafe for InterfaceInfo
impl Send for InterfaceInfo
impl Sync for InterfaceInfo
impl Unpin for InterfaceInfo
impl UnsafeUnpin for InterfaceInfo
impl UnwindSafe for InterfaceInfo
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