[][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() -> DeviceProximityEventInit[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]

Configure 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]

Configure 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]

Configure 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]

Configure 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]

Configure 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]

Configure the value field of this object

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

Trait Implementations

impl AsRef<JsValue> for DeviceProximityEventInit[src]

impl Clone for DeviceProximityEventInit[src]

impl Debug for DeviceProximityEventInit[src]

impl From<DeviceProximityEventInit> for JsValue[src]

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

impl OptionFromWasmAbi for DeviceProximityEventInit[src]

impl OptionIntoWasmAbi for DeviceProximityEventInit[src]

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

impl RefFromWasmAbi for DeviceProximityEventInit[src]

type Abi = <Object 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 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.