[][src]Struct aimc_sim::Browser

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

An arbitrary JavaScript object which implements the Browser interface.

Implementations

impl Browser[src]

pub fn set_fps(&self, frequency: f32, tick_duration_ms: f32)[src]

impl Browser[src]

pub fn send_data(&self, data: &[u8])[src]

Trait Implementations

impl AsRef<Browser> for Browser[src]

impl AsRef<JsValue> for Browser[src]

impl Deref for Browser[src]

type Target = JsValue

The resulting type after dereferencing.

impl From<Browser> for JsValue[src]

impl From<JsValue> for Browser[src]

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

impl OptionFromWasmAbi for Browser[src]

impl OptionIntoWasmAbi for Browser[src]

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

impl RefFromWasmAbi for Browser[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<Browser>

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 Browser[src]

Auto Trait Implementations

impl RefUnwindSafe for Browser

impl !Send for Browser

impl !Sync for Browser

impl Unpin for Browser

impl UnwindSafe for Browser

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> Same<T> for T[src]

type Output = T

Should always be Self

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.