1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//! Commonly used utilities like pools, variants and so on.

#[macro_use]
pub mod handle;
pub mod handle_pool;
pub mod object_pool;
pub mod hash;
pub mod hash_value;
pub mod variant;
pub mod data_buf;

mod finally;
mod color;
mod rect;

pub use self::handle::{Handle, HandleIndex};
pub use self::handle_pool::{HandlePool, HandleIter};
pub use self::object_pool::ObjectPool;
pub use self::finally::{finally, finally_with};
pub use self::hash::hash;
pub use self::hash_value::HashValue;
pub use self::variant::{VariantChar, VariantStr};
pub use self::data_buf::{DataBuffer, DataBufferPtr};
pub use self::rect::*;
pub use self::color::*;