25 lines
752 B
Rust
25 lines
752 B
Rust
//! # Universally useful structures
|
|
//! - [Span](struct@span::Span): Stores a start and end [Loc](struct@span::Loc)
|
|
//! - [Loc](struct@span::Loc): Stores the index in a stream
|
|
//! - [TypedInterner][ti] & [StringInterner][si]: Provies stable, unique allocations
|
|
//! - [Stack](stack::Stack): Contiguous collections with constant capacity
|
|
//! - [IndexMap][im]: A map from [map indices][mi] to values
|
|
//!
|
|
//! [ti]: intern::typed_interner::TypedInterner
|
|
//! [si]: intern::string_interner::StringInterner
|
|
//! [im]: index_map::IndexMap
|
|
//! [mi]: index_map::MapIndex
|
|
#![warn(clippy::all)]
|
|
#![feature(dropck_eyepatch, decl_macro, get_many_mut)]
|
|
#![deny(unsafe_op_in_unsafe_fn)]
|
|
|
|
pub mod intern;
|
|
|
|
pub mod span;
|
|
|
|
pub mod tree;
|
|
|
|
pub mod stack;
|
|
|
|
pub mod index_map;
|