Skip to main content

Crate topcoat_runtime

Crate topcoat_runtime 

Source

Macros§

impl_surrogate
impl_surrogate_mut
impl_surrogate_ref

Structs§

BindAttribute
BoolSurrogate
EncodedSignals
Event
EventHandler
An event handler attribute. Emits a JavaScript closure expression into a data-topcoat-on:<event> attribute on the element. The browser scanner wraps it in new Function('__cx', ...) to obtain a real handler.
EventTarget
Expr
F64Surrogate
OptionSurrogate
ProcedureIdrouter
The identity of a procedure, stable across the server and the client runtime.
ProcedureRouterouter
A Route that handles calls to one server procedure.
ProcedureSurrogaterouter
The surrogate a Procedure value turns into inside a runtime expression.
ReactiveScoperouter
ReactiveScopeIdrouter
ReadSignal
ResultSurrogate
ShardIdrouter
The identity of a shard, stable across the server and the client runtime.
ShardRouterouter
A Route that re-renders one shard.
Signal
SignalDeclaration
SignalId
SignalSurrogate
StrSurrogate
StringSurrogate

Constants§

SCRIPT

Traits§

EventHandlerFn
Procedurerouter
An async server function callable from the client runtime.
RouterBuilderProcedureExtrouter
Registers server procedures on a RouterBuilder.
RouterBuilderShardExtrouter
Registers shards on a RouterBuilder.
Shardrouter
A component that re-renders on the server when its runtime expression arguments change.
Signals
Surrogate
Surrogated
TypedProcedurerouter
The argument and return types of a Procedure, as seen by runtime expressions calling it.

Type Aliases§

ProcedureFuturerouter
The future returned by Procedure::handle: a boxed, Send future borrowing the procedure and its request context.
ShardFuturerouter
The future returned by Shard::render: a boxed, Send future borrowing the shard and its request context.