pub struct TagResolverDated<'a> { /* private fields */ }
Expand description

Resolves tag up until a certain point in time

Created through TagResolver::at.

Useful to answer questions like:

  • Given a save in the 1700
  • Given that a province came under ENG rule in 1500
  • What tag currently owns that province in 1600, as ENG may have tag switched in the meantime.

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.