Struct usb_device::bus::InterfaceNumber
source · [−]pub struct InterfaceNumber(_);
Expand description
A handle for a USB interface that contains its number.
Trait Implementations
sourceimpl Clone for InterfaceNumber
impl Clone for InterfaceNumber
sourcefn clone(&self) -> InterfaceNumber
fn clone(&self) -> InterfaceNumber
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<InterfaceNumber> for u8
impl From<InterfaceNumber> for u8
sourcefn from(n: InterfaceNumber) -> u8
fn from(n: InterfaceNumber) -> u8
Converts to this type from the input type.
sourceimpl PartialEq<InterfaceNumber> for InterfaceNumber
impl PartialEq<InterfaceNumber> for InterfaceNumber
sourcefn eq(&self, other: &InterfaceNumber) -> bool
fn eq(&self, other: &InterfaceNumber) -> bool
impl Copy for InterfaceNumber
impl Eq for InterfaceNumber
impl StructuralEq for InterfaceNumber
impl StructuralPartialEq for InterfaceNumber
Auto Trait Implementations
impl RefUnwindSafe for InterfaceNumber
impl Send for InterfaceNumber
impl Sync for InterfaceNumber
impl Unpin for InterfaceNumber
impl UnwindSafe for InterfaceNumber
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