Crate typing_engine

Source

Re-exports§

pub use crate::display_info::DisplayInfo;
pub use crate::typing_primitive_types::key_stroke::KeyStrokeChar;
pub use crate::typing_primitive_types::key_stroke::KeyStrokeCharError;
pub use crate::typing_primitive_types::spell::SpellString;
pub use crate::typing_primitive_types::spell::SpellStringError;
pub use crate::typing_primitive_types::vocabulary::VocabularyEntry;
pub use crate::typing_primitive_types::vocabulary::VocabularySpellElement;

Modules§

display_info
typing_primitive_types
Primitive types which construct targets being typed.

Structs§

EntitySkillStatistics
A struct representing skill statistics for a single entity. Entity is like a KeyStrokeChar.
EntitySummaryStatistics
A struct representing aggregated statistics of typing for each entities.
LapInfo
A struct representing lap information.
QueryRequest
A request for constructing query.
SkillStatistics
TypingEngine
The main engine of typing game.
TypingEngineError
Error type returned from TypingEngine.
TypingResult
A struct representing result of typing.
TypingResultSummary
A struct representing aggregated result of typing. Aggregation is for 4 entities, key stroke, ideal key stroke, spell, and chunk.
VocabularyParseError

Enums§

LapRequest
VocabularyOrder
An order specifier by which vocabularies are selected from vocabulary list.
VocabularyQuantifier
A vocabulary quantifier for constructing query.
VocabularySeparator
A vocabulary used to separate between vocabularies of query string.

Functions§

parse_vocabulary_entry
Parses a single line into a VocabularyEntry.