Struct unicode_bidi::ParagraphInfo
[−]
[src]
pub struct ParagraphInfo { pub classes: Vec<BidiClass>, pub levels: Vec<u8>, pub para_level: u8, pub max_level: u8, }
Output of process_paragraph
The classes
and levels
vectors are indexed by byte offsets into the paragraph text. If a
character is multiple bytes wide, then its class and level will appear multiple times in these
vectors.
Fields
classes: Vec<BidiClass>
The BidiClass of the character at each byte in the paragraph.
levels: Vec<u8>
The directional embedding level of each byte in the paragraph.
para_level: u8
The paragraph embedding level.
max_level: u8
The highest embedding level in the paragraph. (Can be used for optimizations.)
Trait Implementations
impl PartialEq for ParagraphInfo
[src]
fn eq(&self, __arg_0: &ParagraphInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParagraphInfo) -> bool
This method tests for !=
.