[][src]Crate sugars

Macros

arc

A simple macro to make a new Arc value.

boxed

A simple macro to make a new Box value.

btmap

Create a BTreeMap from a list of key-value pairs

btset

Create a BTreeSet from a list of elements.

cbtmap

Macro to BTreeMap collection comprehensions

cbtset

Macro to BTreeSet collection comprehensions

cell

A simple macro to make a new Cell value.

cmap

Macro to HashMap collection comprehensions

cow

A simple macro to make a new Cow::Owned value.

cset

Macro to HashSet collection comprehensions

cvec

Macro to Vec collection comprehensions

dur

Creates a Duration object following a time pattern

flkl

Create a LinkedList from a list of elements. It pushes the element to the start of the list.

hash

Macro that return the hash of what is passed and also can receive a hasher to use that intead of default HashMap Hasher.

hmap

Create a HashMap from a list of key-value pairs

hset

Create a HashSet from a list of elements.

lkl

Create a LinkedList from a list of elements. It pushes the element to the back of the list.

mutex

A simple macro to make a new Mutex value.

rc

A simple macro to make a new Rc value.

refcell

A simple macro to make a new RefCell value.

sleep

Makes a thread sleep a amount following a time pattern

time

Print out the time it took to execute a given expression in seconds.