pub struct WebUsb<'d, D: Driver<'d>> { /* private fields */ }
Expand description
WebUSB capability implementation.
WebUSB is a W3C standard that allows a web page to communicate with USB devices. See See https://wicg.github.io/webusb for more information and the browser API. This implementation provides one read and one write endpoint.
Implementations§
Auto Trait Implementations§
impl<'d, D> Freeze for WebUsb<'d, D>
impl<'d, D> RefUnwindSafe for WebUsb<'d, D>where
D: RefUnwindSafe,
impl<'d, D> Send for WebUsb<'d, D>where
D: Sync,
impl<'d, D> Sync for WebUsb<'d, D>where
D: Sync,
impl<'d, D> Unpin for WebUsb<'d, D>
impl<'d, D> UnwindSafe for WebUsb<'d, D>where
D: RefUnwindSafe,
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