[−][src]Struct prototty_wasm::InputBuffer
Methods
impl InputBuffer
[src]
impl InputBuffer
impl InputBuffer
[src]
impl InputBuffer
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(&mut self, x: i32, y: i32) | [src] |
pub fn push_mouse_press(&mut self, x: i32, y: i32) | [src] |
pub fn push_mouse_release(&mut self, x: i32, y: i32) | [src] |
Trait Implementations
impl Default for InputBuffer
[src]
impl Default for InputBuffer
fn default() -> InputBuffer | [src] |
impl FromWasmAbi for InputBuffer
[src]
impl FromWasmAbi for InputBuffer
type Abi = u32
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: u32, _extra: &mut dyn Stack) -> InputBuffer | [src] |
impl IntoWasmAbi for InputBuffer
[src]
impl IntoWasmAbi for InputBuffer
type Abi = u32
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, _extra: &mut dyn Stack) -> u32 | [src] |
impl RefFromWasmAbi for InputBuffer
[src]
impl RefFromWasmAbi for InputBuffer
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
unsafe fn ref_from_abi( | [src] |
impl RefMutFromWasmAbi for InputBuffer
[src]
impl RefMutFromWasmAbi for InputBuffer
type Abi = u32
Same as RefFromWasmAbi::Abi
type Anchor = RefMut<'static, InputBuffer>
Same as RefFromWasmAbi::Anchor
unsafe fn ref_mut_from_abi( | [src] |
impl From<InputBuffer> for JsValue
[src]
impl From<InputBuffer> for JsValue
fn from(_value: InputBuffer) -> JsValue | [src] |
Auto Trait Implementations
impl Send for InputBuffer
impl Send for InputBuffer
impl Sync for InputBuffer
impl Sync for InputBuffer
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi | [src] |