[−][src]Trait valid::property::HasCharCount
The number of characters property of a type.
Counts the number of contained characters. The character count may be different from the length if any character occupies more than one byte in memory.
This is usually a property of a container of char
s like String
,
Vec<char>
or &[char]
Required methods
fn char_count(&self) -> usize
Returns the number of characters.