pub struct InterfaceCandidate {
pub interface_number: u8,
pub alternate_setting: u8,
pub class_code: u8,
pub endpoints: Vec<EndpointAddress>,
}Fields§
§interface_number: u8§alternate_setting: u8§class_code: u8§endpoints: Vec<EndpointAddress>Trait Implementations§
Source§impl Clone for InterfaceCandidate
impl Clone for InterfaceCandidate
Source§fn clone(&self) -> InterfaceCandidate
fn clone(&self) -> InterfaceCandidate
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 moreSource§impl Debug for InterfaceCandidate
impl Debug for InterfaceCandidate
Source§impl PartialEq for InterfaceCandidate
impl PartialEq for InterfaceCandidate
impl Eq for InterfaceCandidate
impl StructuralPartialEq for InterfaceCandidate
Auto Trait Implementations§
impl Freeze for InterfaceCandidate
impl RefUnwindSafe for InterfaceCandidate
impl Send for InterfaceCandidate
impl Sync for InterfaceCandidate
impl Unpin for InterfaceCandidate
impl UnsafeUnpin for InterfaceCandidate
impl UnwindSafe for InterfaceCandidate
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