Crate web[][src]

Macros

class_names
js
lazy_static

Structs

CallbackFuture
CallbackManager
CanvasContext
ClassList
Event
EventHandler
InputElement
JSFunction
JSObject
KeyDownEvent
KeyEvent
KeyEventHandler
MouseEvent
MouseEventHandler
MutexGuard

A generic guard that will protect some data access and uses either a ticket lock or a normal spin mutex.

Enums

CallbackHandler

Constants

ALICEBLUE
ANTIQUEWHITE
AQUA
AQUAMARINE
AZURE
BEIGE
BISQUE
BLACK
BLANCHEDALMOND
BLUE
BLUEVIOLET
BROWN
BURLYWOOD
CADETBLUE
CHARTREUSE
CHOCOLATE
CORAL
CORNFLOWERBLUE
CORNSILK
CRIMSON
CYAN
DARKBLUE
DARKCYAN
DARKGOLDENROD
DARKGRAY
DARKGREEN
DARKGREY
DARKKHAKI
DARKMAGENTA
DARKOLIVEGREEN
DARKORANGE
DARKORCHID
DARKRED
DARKSALMON
DARKSEAGREEN
DARKSLATEBLUE
DARKSLATEGRAY
DARKSLATEGREY
DARKTURQUOISE
DARKVIOLET
DEEPPINK
DEEPSKYBLUE
DIMGRAY
DIMGREY
DODGERBLUE
DOM_BODY
DOM_DOCUMENT
DOM_SELF
DOM_WINDOW
FIREBRICK
FLORALWHITE
FORESTGREEN
FUCHSIA
GAINSBORO
GHOSTWHITE
GOLD
GOLDENROD
GRAY
GREEN
GREENYELLOW
GREY
HONEYDEW
HOTPINK
INDIANRED
INDIGO
IVORY
JS_NULL
JS_UNDEFINED
KHAKI
LAVENDER
LAVENDERBLUSH
LAWNGREEN
LEMONCHIFFON
LIGHTBLUE
LIGHTCORAL
LIGHTCYAN
LIGHTGOLDENRODYELLOW
LIGHTGRAY
LIGHTGREEN
LIGHTGREY
LIGHTPINK
LIGHTSALMON
LIGHTSEAGREEN
LIGHTSKYBLUE
LIGHTSLATEGRAY
LIGHTSLATEGREY
LIGHTSTEELBLUE
LIGHTYELLOW
LIME
LIMEGREEN
LINEN
MAGENTA
MAROON
MEDIUMAQUAMARINE
MEDIUMBLUE
MEDIUMORCHID
MEDIUMPURPLE
MEDIUMSEAGREEN
MEDIUMSLATEBLUE
MEDIUMSPRINGGREEN
MEDIUMTURQUOISE
MEDIUMVIOLETRED
MIDNIGHTBLUE
MINTCREAM
MISTYROSE
MOCCASIN
NAVAJOWHITE
NAVY
OLDLACE
OLIVE
OLIVEDRAB
ORANGE
ORANGERED
ORCHID
PALEGOLDENROD
PALEGREEN
PALETURQUOISE
PALEVIOLETRED
PAPAYAWHIP
PEACHPUFF
PERU
PINK
PLUM
POWDERBLUE
PURPLE
REBECCAPURPLE
RED
ROSYBROWN
ROYALBLUE
SADDLEBROWN
SALMON
SANDYBROWN
SEAGREEN
SEASHELL
SIENNA
SILVER
SKYBLUE
SLATEBLUE
SLATEGRAY
SLATEGREY
SNOW
SPRINGGREEN
STEELBLUE
TAN
TEAL
THISTLE
TOMATO
TURQUOISE
VIOLET
WHEAT
WHITE
WHITESMOKE
YELLOW
YELLOWGREEN

Traits

AddClassList
Canvas2dApi
CustomElement
GetProperty
SetProperty

Functions

add_event_listener
attach_shadow
clear_interval
clear_timeout
console_clear
console_error
console_log
console_time
console_time_end
console_warning
create_callback_0
create_callback_1
create_callback_2
create_callback_3
create_callback_4
create_callback_5
create_callback_6
create_callback_7
create_callback_8
create_callback_9
create_callback_10
create_callback_future_0
create_callback_future_1
create_callback_future_2
create_callback_future_3
create_callback_future_4
create_callback_future_5
create_callback_future_6
create_callback_future_7
create_callback_future_8
create_callback_future_9
create_callback_future_10
cstr_to_string
get_attribute
get_callback
get_element_by_id
get_property
is_property_array
is_property_bool
is_property_null
is_property_number
is_property_object
is_property_string
is_property_undefined
local_storage_clear
local_storage_get_item
local_storage_remove_item
local_storage_set_item
query_selector
random
register_function
remove_callback
request_animation_frame
request_animation_loop
set_inner_html
set_interval
set_property
set_style
set_timeout
sleep

Type Definitions

HTMLElement
Handle
Mutex

A primitive that synchronizes the execution of multiple threads. See mutex::Mutex for documentation.