use Instant;
/// The snapshot of a [`Parser`](crate::parser::Parser).
///
/// This can be created by [`Parser::snapshot`](crate::parser::Parser::snapshot)
/// and used by [`Parser::restore`](crate::parser::Parser::restore).
///
/// Since `State` should be cheap to clone,
/// this is also cheap to create or clone.