[][src]Module paddle::quicksilver_compat

This module has a copy of quicksilver types to ease transition form quicksilver to something else.

Everything inside has been copied from https://github.com/ryanisaacg/quicksilver and only marginally modified.

Re-exports

pub use graphics::Background::Img;
pub use graphics::*;

Modules

geom

A 2D geometry module

graphics

Structs

Circle

A circle with a center and a radius

KeyEvent
KeyEventTypeIter
PointerEvent

Event type and cursor position

PointerTracker

Helper struct that can be added to a frame to track advanced cursor updates.

Enums

EventListenerType
Key

Rust representation of a set of common keys. The names match the Key Code Values. The keys listed should all have the same representation on all platforms.

KeyEventType

Rust representation for key event types. Has a one-to-one correspondence to browser events.

PointerEventType

Rust representation for mouse and touch event types.

Traits

Shape

The collision and positional attributes of shapes

Functions

__wasm_bindgen_generated_click_event_gate
__wasm_bindgen_generated_keyboard_event_gate
__wasm_bindgen_generated_mouse_event_gate
__wasm_bindgen_generated_pointer_event_gate
__wasm_bindgen_generated_touch_event_gate
about_equal

Find if two floating points are about equal

click_event_gate
keyboard_event_gate
mouse_event_gate
pointer_event_gate
touch_event_gate