Struct usb_sys::usbdevfs_setinterface
source · #[repr(C)]pub struct usbdevfs_setinterface {
pub interface: c_uint,
pub altsetting: c_uint,
}
Fields§
§interface: c_uint
§altsetting: c_uint
Trait Implementations§
source§impl Clone for usbdevfs_setinterface
impl Clone for usbdevfs_setinterface
source§fn clone(&self) -> usbdevfs_setinterface
fn clone(&self) -> usbdevfs_setinterface
Returns a copy 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 Default for usbdevfs_setinterface
impl Default for usbdevfs_setinterface
source§fn default() -> usbdevfs_setinterface
fn default() -> usbdevfs_setinterface
Returns the “default value” for a type. Read more
impl Copy for usbdevfs_setinterface
Auto Trait Implementations§
impl RefUnwindSafe for usbdevfs_setinterface
impl Send for usbdevfs_setinterface
impl Sync for usbdevfs_setinterface
impl Unpin for usbdevfs_setinterface
impl UnwindSafe for usbdevfs_setinterface
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