Expand description

Re-exports from the alloc_data crate.

Modules

Errors, handled by error_chain.

Re-exports from error_chain.

Utilities for formatting and printing Strings.

Log macros re-exports.

Provides a generic factory-like type to share labels and locations across allocations.

Overloadable operators.

Allocation data parsers.

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

Imports this crate’s prelude.

Structs

Some allocation information.

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 big unsigned integer type.

An allocation builder.

A counted location.

A diff.

A hash map implemented with quadratic probing and SIMD lookup.

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

Data from a memthol init file.

Stores a UID, cannot be constructed outside of the module it’s declared in.

A location.

A range, inclusive on both ends.

Represents a sample rate.

Stores a UID, cannot be constructed outside of the module it’s declared in.

Stores a UID, cannot be constructed outside of the module it’s declared in.

Enums

A kind of allocation.

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

Trait for types that can be parsed.

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

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.

A byte-span.

Derive Macros