pub struct UnicodeRules;
Expand description

As a standard default segmentation ruleset Filecount uses the rust unicode implementation of Unicode Standard Annex #29. For more information see the unicode-segmentation crate

Trait Implementations

The Segmentation rules implementation for UnicodeRules

Given a section of text, most likely containing multiple sentences, segment the text into translatable units.
The amount of words in a particular segment
The amount of non-whitespace characters in a particular segment

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.