Enum web_sys::UsbRecipient
source · [−]pub enum UsbRecipient {
Device,
Interface,
Endpoint,
Other,
// some variants omitted
}
Expand description
The UsbRecipient
enum.
This API requires the following crate features to be activated: UsbRecipient
This API is unstable and requires --cfg=web_sys_unstable_apis
to be activated, as
described in the wasm-bindgen
guide
Variants
Device
Interface
Endpoint
Other
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for UsbRecipient
impl Send for UsbRecipient
impl Sync for UsbRecipient
impl Unpin for UsbRecipient
impl UnwindSafe for UsbRecipient
Blanket Implementations
Mutably borrows from an owned value. Read more
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more