var

Crates.iovar
lib.rsvar
version0.0.1
sourcesrc
created_at2015-02-17 01:58:08.143168
updated_at2015-12-11 23:57:02.323352
descriptionA macro that allows declaring and initialising multiple mutable variables in a single statement.
homepagehttps://github.com/huonw/var
repositoryhttps://github.com/huonw/var
max_upload_size
id1413
size15,489
Owners (github:contain-rs:owners)

documentation

http://huonw.github.io/var/var/

README

var!

Build Status

A Rust macro for declaring and initialising multiple mutable variables in a single statement.

#[macro_use] extern crate var;

var! {
    a = 1,
    b: &str = "foo",
    c = 3.0,
}

a += 1;
b = "bar";
c *= 7.0;

Documentation, crates.io

Commit count: 11

cargo fmt