#[repr(C)]pub struct usb_interface {
pub altsetting: *mut usb_interface_descriptor,
pub num_altsetting: c_int,
}Fields§
§altsetting: *mut usb_interface_descriptor§num_altsetting: c_intTrait Implementations§
Source§impl Clone for usb_interface
impl Clone for usb_interface
Source§fn clone(&self) -> usb_interface
fn clone(&self) -> usb_interface
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 usb_interface
impl Debug for usb_interface
impl Copy for usb_interface
Auto Trait Implementations§
impl Freeze for usb_interface
impl RefUnwindSafe for usb_interface
impl !Send for usb_interface
impl !Sync for usb_interface
impl Unpin for usb_interface
impl UnwindSafe for usb_interface
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