Crate base

source · []
Expand description

Re-exports, types and helpers for all crates in this project.

Re-exports

pub extern crate bincode;
pub extern crate chrono;
pub extern crate conv;
pub extern crate log;
pub extern crate peg;
pub extern crate rand;

Modules

Contains compilation directives for the WASM client.

Errors for memthol, handled by error_chain.

Re-exports from error_chain.

Common imports.

Structures representing time in different ways.

Stopwatch, for time statistics.

UID types for charts, filters and subfilters.

Macros

cfg-level if-then-else for items.

Directory in which the WASM client is being built (not release version).

Directory in which the WASM client is being built.

Ignores the input tokens in release.

Convenience macro for implementing basic traits.

Creates a stopwatch aggregation.

Imports this crate’s prelude.

Counts the time it takes to evaluate an expression.

Fails if a result expression is an error, after printing the error.

Structs

A range, inclusive on both ends.

Represents a sample rate.

Enums

The enum Either with variants Left and Right is a general purpose sum type with two cases.

Result of comparing a range to a value.

Functions

Used to convert between integer representations.

Destroys what it’s given.

Returns what it’s given.

Type Definitions

Alias type for SmallVec of max stack-size 8.

Alias type for SmallVec of max stack-size 16.

Alias type for SmallVec of max stack-size 32.

Alias type for SmallVec of max stack-size 64.