Skip to main content

## ContextAge

# Type Alias ContextAge

Source

    pub type ContextAge = usize;

Expand description

When backtracking it can be useful to know how far back to go. The `ContextAge` of a `Context` is a monotonically increasing counter of the number of decisions made to get to this state. Several structures store the `ContextAge` when it was added, to be used in `find_candidate` for backtracking.

## Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain `repr(...)` attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 8 bytes