Expand description

Crate’s prelude.

Re-exports

pub use crate::parser;
pub use crate::parser::Parseable;
pub use crate::err;
pub use crate::mem;
pub use crate::mem::str::Str;
pub use crate::Alloc;
pub use crate::AllocKind;
pub use crate::Builder;
pub use crate::CLoc;
pub use crate::Diff;
pub use crate::Init;
pub use crate::Loc;
pub use crate::Span;

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

A hash map implemented with quadratic probing and SIMD lookup.

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

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

A range, inclusive on both ends.

Represents a sample rate.

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

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

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.

Derive Macros