Crate sodium_rust
source ·Expand description
Sodium is a library for doing Functional Reactive Programming (FRP) in Rust.
Structs
Represents a value of type
A
that changes over time.A
Cell
that allows values to be pushed into it, acting as a
interface between the world of I/O and the world of FRP.A representation for a value that may not be available until the
current transaction is closed.
Operational primitives that must be used with care because they
break non-detectability of
Cell
steps/updates.Create a new Router that routes event items of type
A
to zero or
more Stream
s of type K
according to a given selector
function.A context object representing a specific instance of a Sodium
system.
Represents a stream of discrete events/firings containing values
of type
A
.A forward reference of a
Stream
for creating dependency loops.A
Stream
that allows values to be pushed into it, acting as an
interface between the world of I/O and the world of FRP.A scoped transaction marker.
Traits
Interface for a lambda function of one argument.
Interface for a lambda function of two arguments.
Interface for a lambda function of three arguments.
Interface for a lambda function of four arguments.
Interface for a lambda function of five arguments.
Interface for a lambda function of six arguments.