1 << iota
The iota!
macro constructs a set of related constants.
extern crate iota;
iota!
Within an iota!
block, the iota
variable is an untyped integer constant
whose value begins at 0 and increments by 1 for every constant declared in
the block.
extern crate iota;
iota!
// `iota` begins again from 0 in this block
iota!
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.