[][src]Struct prototty_wasm::InputBuffer

pub struct InputBuffer { /* fields omitted */ }

Methods

impl InputBuffer[src]

pub fn iter(&self) -> Cloned<Iter<Input>>[src]

impl InputBuffer[src]

pub fn new() -> InputBuffer[src]

pub fn clear(&mut self)[src]

pub fn push_key_press(&mut self, key_code: u8, shift: bool)[src]

pub fn push_mouse_scroll_up(&mut self, x: i32, y: i32)[src]

pub fn push_mouse_scroll_down(&mut self, x: i32, y: i32)[src]

pub fn push_mouse_scroll_left(&mut self, x: i32, y: i32)[src]

pub fn push_mouse_scroll_right(&mut self, x: i32, y: i32)[src]

pub fn push_mouse_move_none(&mut self, x: i32, y: i32)[src]

pub fn push_mouse_move_left(&mut self, x: i32, y: i32)[src]

pub fn push_mouse_move_right(&mut self, x: i32, y: i32)[src]

pub fn push_mouse_move_middle(&mut self, x: i32, y: i32)[src]

pub fn push_mouse_press_left(&mut self, x: i32, y: i32)[src]

pub fn push_mouse_press_right(&mut self, x: i32, y: i32)[src]

pub fn push_mouse_press_middle(&mut self, x: i32, y: i32)[src]

pub fn push_mouse_release_left(&mut self, x: i32, y: i32)[src]

pub fn push_mouse_release_right(&mut self, x: i32, y: i32)[src]

pub fn push_mouse_release_middle(&mut self, x: i32, y: i32)[src]

Trait Implementations

impl RefMutFromWasmAbi for InputBuffer[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, InputBuffer>

Same as RefFromWasmAbi::Anchor

impl From<InputBuffer> for JsValue[src]

impl FromWasmAbi for InputBuffer[src]

type Abi = u32

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

impl IntoWasmAbi for InputBuffer[src]

type Abi = u32

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

impl Default for InputBuffer[src]

impl RefFromWasmAbi for InputBuffer[src]

type Abi = u32

The wasm ABI type references to Self are recovered from.

type Anchor = Ref<'static, InputBuffer>

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

Auto Trait Implementations

impl Send for InputBuffer

impl Sync for InputBuffer

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

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

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi