Struct rusb::DeviceList
source · [−]pub struct DeviceList<T: UsbContext> { /* private fields */ }
Expand description
A list of detected USB devices.
Implementations
sourceimpl DeviceList<GlobalContext>
impl DeviceList<GlobalContext>
pub fn new() -> Result<DeviceList<GlobalContext>>
sourceimpl<T: UsbContext> DeviceList<T>
impl<T: UsbContext> DeviceList<T>
pub fn new_with_context(context: T) -> Result<DeviceList<T>>
Trait Implementations
sourceimpl<T: UsbContext> Drop for DeviceList<T>
impl<T: UsbContext> Drop for DeviceList<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for DeviceList<T> where
T: RefUnwindSafe,
impl<T> !Send for DeviceList<T>
impl<T> !Sync for DeviceList<T>
impl<T> Unpin for DeviceList<T> where
T: Unpin,
impl<T> UnwindSafe for DeviceList<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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