regex_automata::util::primitives - Rust (original) (raw)

Expand description

Lower level primitive types that are useful in a variety of circumstances.

§Overview

This list represents the principle types in this module and briefly describes when you might want to use them.

NonMaxUsize

A usize that can never be usize::MAX.

PatternID

The identifier of a regex pattern, represented by a SmallIndex.

PatternIDError

This error occurs when a value could not be constructed.

SmallIndex

A type that represents a “small” index.

SmallIndexError

This error occurs when a small index could not be constructed.

StateID

The identifier of a finite automaton state, represented by aSmallIndex.

StateIDError

This error occurs when a value could not be constructed.