Expand description

Common imports for the modules in this crate.

Re-exports

pub use crate::parse::CanParse;
pub use crate::*;

Modules

Errors for memthol, handled by error_chain.

Re-exports from error_chain.

Utilities for formatting and printing Strings.

Log macros re-exports.

Overloadable operators.

Serde trait re-exports.

Useful synchronization primitives.

Structures representing time in different ways.

Stopwatch, for time statistics.

UID types for charts, filters and subfilters.

Macros

Exits a function early with an error

Structs

A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.

An ordered map based on a B-Tree.

An ordered set based on a B-Tree.

A hash map implemented with quadratic probing and SIMD lookup.

A hash set implemented as a HashMap where the value is ().

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.

Inhabited type.

Traits

A trait for borrowing data.

Adds functionalities to the Duration type.

Parse a value from a string

Additional methods for Result, for easy interaction with this crate.

Simple and safe type conversions that may fail in a controlled way under some circumstances. It is the reciprocal of TryInto.

An attempted conversion that consumes self, which may or may not be expensive.

Functions

Used to convert between integer representations.

Destroys what it’s given.

Returns what it’s given.

Type Definitions

Type of allocation UIDs.

A duration since the start of the run as microseconds.

A difference between two Clock values.

Type of PIDs.

Convenient wrapper around std::Result.

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.