Crate funfun[−][src]
Macros
arc |
Boxes (heap-allocates) the given value and returns an Arc to the object. |
arc_fn |
Boxes a closure and returns an Arc reference. Slower than just a box, but can derive traits like Clone. |
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
ArcFn |
Arc<Box |
BoxFn |
Box |