]> git.lizzy.rs Git - rust.git/blob - src/libstd/num/u8.rs
e6cbd14bf417ddf9bd57b78c8aa1ac6dce6751f8
[rust.git] / src / libstd / num / u8.rs
1 // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 //! Operations and constants for unsigned 8-bits integers (`u8` type)
12
13 #![unstable]
14 #![doc(primitive = "u8")]
15
16 use from_str::FromStr;
17 use num::{ToStrRadix, FromStrRadix};
18 use num::strconv;
19 use option::Option;
20 use slice::ImmutableVector;
21 use string::String;
22
23 pub use core::u8::{BITS, BYTES, MIN, MAX};
24
25 uint_module!(u8)