[][src]Struct web_sys::DeviceProximityEventInit

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

The DeviceProximityEventInit dictionary.

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

Methods

impl DeviceProximityEventInit[src]

pub fn new() -> Self[src]

Construct a new DeviceProximityEventInit.

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

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

Change the bubbles field of this object.

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

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

Change the cancelable field of this object.

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

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

Change the composed field of this object.

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

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

Change the max field of this object.

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

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

Change the min field of this object.

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

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

Change the value field of this object.

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

Trait Implementations

impl AsRef<DeviceProximityEventInit> for DeviceProximityEventInit[src]

impl AsRef<JsValue> for DeviceProximityEventInit[src]

impl AsRef<Object> for DeviceProximityEventInit[src]

impl Clone for DeviceProximityEventInit[src]

impl Debug for DeviceProximityEventInit[src]

impl Deref for DeviceProximityEventInit[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for DeviceProximityEventInit[src]

impl From<DeviceProximityEventInit> for JsValue[src]

impl From<DeviceProximityEventInit> for Object[src]

impl From<JsValue> for DeviceProximityEventInit[src]

impl FromWasmAbi for DeviceProximityEventInit[src]

type Abi = <JsValue as FromWasmAbi>::Abi

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

impl IntoWasmAbi for DeviceProximityEventInit[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

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

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

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

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

impl JsCast for DeviceProximityEventInit[src]

impl OptionFromWasmAbi for DeviceProximityEventInit[src]

impl OptionIntoWasmAbi for DeviceProximityEventInit[src]

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

impl PartialEq<DeviceProximityEventInit> for DeviceProximityEventInit[src]

impl RefFromWasmAbi for DeviceProximityEventInit[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<DeviceProximityEventInit>

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 StructuralEq for DeviceProximityEventInit[src]

impl StructuralPartialEq for DeviceProximityEventInit[src]

impl WasmDescribe for DeviceProximityEventInit[src]

Auto Trait Implementations

impl RefUnwindSafe for DeviceProximityEventInit

impl !Send for DeviceProximityEventInit

impl !Sync for DeviceProximityEventInit

impl Unpin for DeviceProximityEventInit

impl UnwindSafe for DeviceProximityEventInit

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.