Crate solar_data_structures

Crate solar_data_structures 

Source
Expand description

§solar-data-structures

Common data structures and utilities for the Solar compiler.

Mostly modified from rustc_data_structures.

Re-exports§

pub use smallvec;

Modules§

cycle
fmt
hint
index
Index types. See ::index_vec.
map
Map types.
sync
trustme

Macros§

cdr_try
? for CycleDetectorResult.
newtype_index
Creates a new index to use with ::index_vec.
parallel
Executes the given expressions in parallel.

Structs§

DropGuard
Runs F on T when the instance is dropped.
Interned
A reference to a value that is interned, and is known to be unique.
RawThinSlice
ThinSlice with a custom header.

Traits§

BumpExt
Extension trait for Bump.
CollectAndApply
Implements f(&iter.collect::<Vec<_>>()) more efficiently.

Functions§

defer
Returns a structure that calls f when dropped.
outline
This calls the passed function while ensuring it won’t be inlined into the caller.

Type Aliases§

Never
The ! (never) type.
ThinSlice
A thin-pointer slice of T.