Skip to main content

Crate rat

Crate rat 

Source

Structs§

NetArray
Wrapper for using the rkyv 0.8 APIs with nalgebra.
Rat

Enums§

VariableType

Traits§

Archive
A type that can be used without deserializing.
Deserialize
Converts a type back from its archived form.
Serialize
Converts a type to its archived form.

Functions§

bacon
When the code reaches a variable that is watched, call this function to communicate synchronously with the link. It syncs with the other rats and gets the action to be taken for the current var. It then applies the action to the variable and returns.
bacon_async
Synchronize a watched variable using the caller’s active Tokio runtime.
deinit
init
init_async
Initialize a Rat using the caller’s active Tokio runtime.
rat_bacon_f32⚠
Matrix must be in column-major order.
rat_bacon_f64⚠
Matrix must be in column-major order.
rat_bacon_i32⚠
Matrix must be in column-major order.
rat_bacon_u8⚠
Matrix must be in column-major order.
rat_deinit⚠
Safety
rat_init⚠
Safety
rfalse
rtrue

Derive Macros§

Archive
Derives Archive for the labeled type.
Deserialize
Derives Deserialize for the labeled type.
Serialize
Derives Serialize for the labeled type.