[][src]Struct web_sys::MidiConnectionEventInit

#[repr(transparent)]
pub struct MidiConnectionEventInit { /* fields omitted */ }

The MIDIConnectionEventInit dictionary

This API requires the following crate features to be activated: MidiConnectionEventInit

Methods

impl MidiConnectionEventInit[src]

pub fn new() -> MidiConnectionEventInit[src]

Construct a new MIDIConnectionEventInit

This API requires the following crate features to be activated: MidiConnectionEventInit, MidiPort

pub fn bubbles(&mut self, val: bool) -> &mut Self[src]

Configure the bubbles field of this object

This API requires the following crate features to be activated: MidiConnectionEventInit

pub fn cancelable(&mut self, val: bool) -> &mut Self[src]

Configure the cancelable field of this object

This API requires the following crate features to be activated: MidiConnectionEventInit

pub fn composed(&mut self, val: bool) -> &mut Self[src]

Configure the composed field of this object

This API requires the following crate features to be activated: MidiConnectionEventInit

pub fn port(&mut self, val: Option<&MidiPort>) -> &mut Self[src]

Configure the port field of this object

This API requires the following crate features to be activated: MidiConnectionEventInit, MidiPort

Trait Implementations

impl AsRef<JsValue> for MidiConnectionEventInit[src]

impl Clone for MidiConnectionEventInit[src]

impl Debug for MidiConnectionEventInit[src]

impl From<MidiConnectionEventInit> for JsValue[src]

impl FromWasmAbi for MidiConnectionEventInit[src]

type Abi = <Object as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for MidiConnectionEventInit[src]

type Abi = <Object as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a MidiConnectionEventInit[src]

type Abi = <&'a Object as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for MidiConnectionEventInit[src]

impl OptionFromWasmAbi for MidiConnectionEventInit[src]

impl OptionIntoWasmAbi for MidiConnectionEventInit[src]

impl<'a> OptionIntoWasmAbi for &'a MidiConnectionEventInit[src]

impl RefFromWasmAbi for MidiConnectionEventInit[src]

type Abi = <Object as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<MidiConnectionEventInit>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl WasmDescribe for MidiConnectionEventInit[src]

Auto Trait Implementations

impl RefUnwindSafe for MidiConnectionEventInit

impl !Send for MidiConnectionEventInit

impl !Sync for MidiConnectionEventInit

impl Unpin for MidiConnectionEventInit

impl UnwindSafe for MidiConnectionEventInit

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.