Module prelude

Source
Expand description

Common imports for crate::tt

Re-exports§

pub use crate::zero::LabelSegment;
pub use crate::zero::qualified::label_seg;
pub use crate::zero::qualified::name_seg;
pub use crate::one::Path;
pub use crate::zero::NameSegment;
pub use crate::tt::util::*;

Structs§

HashMap
A hash map implemented with quadratic probing and SIMD lookup.
IndexMap
A hash table where the iteration order of the key-value pairs is independent of the hash values of the keys.
Loc
Rc
A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.
Reporter
Ustr
A handle representing a string in the global string cache.

Functions§

ustr
Create a new Ustr from the given str.

Type Aliases§

FieldName
The type of field names in record types
TopVarName
The type of global variable names
VarName
The type of local variable names