Crate funfun[][src]

Macros

arc

Boxes (heap-allocates) the given value and returns an Arc to the object.

box_fn

Boxes a closure and returns a reference.

rc

Boxes (heap-allocates) the given value and returns an Rc to the object.

spawn_fn

Starts a new thread and runs the passed closure with the passed arguments in it, returning the new thread's hook.

Type Definitions

BoxFn

Boxed alias used for clarity (and later trait implementation) when boxing structures that implement Fn* traits.