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§
Macros§
- cdr_try
?forCycleDetectorResult.- newtype_
index - Creates a new index to use with
::index_vec. - parallel
- Executes the given expressions in parallel.
Structs§
- Drop
Guard - Runs
FonTwhen the instance is dropped. - Interned
- A reference to a value that is interned, and is known to be unique.
- RawThin
Slice ThinSlicewith a custom header.
Traits§
- BumpExt
- Extension trait for
Bump. - Collect
AndApply - Implements
f(&iter.collect::<Vec<_>>())more efficiently.
Functions§
- defer
- Returns a structure that calls
fwhen dropped. - outline
- This calls the passed function while ensuring it won’t be inlined into the caller.