Enum web_sys::UsbDirection
source · [−]pub enum UsbDirection {
In,
Out,
// some variants omitted
}
Expand description
The UsbDirection
enum.
This API requires the following crate features to be activated: UsbDirection
This API is unstable and requires --cfg=web_sys_unstable_apis
to be activated, as
described in the wasm-bindgen
guide
Variants
In
Out
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for UsbDirection
impl Send for UsbDirection
impl Sync for UsbDirection
impl Unpin for UsbDirection
impl UnwindSafe for UsbDirection
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