Type Alias decompound::DecompositionResult
source · pub type DecompositionResult = Result<Vec<String>, DecompositionError>;
Expand description
Result
of a decompound
operation.
Note constituent words are returned as owned, even if that’s not (always) necessary.
It is necessary when titlecasing is enabled
(DecompositionOptions::TRY_TITLECASE_SUFFIX
), at which point it’s easier to
always return owned versions, even when unnecessary.