Struct unicode_bidi::ParagraphInfo [] [src]

pub struct ParagraphInfo {
    pub range: Range<usize>,
    pub level: u8,
}

Info about a single paragraph

Fields

range: Range<usize>

The paragraphs boundaries within the text, as byte indices.

TODO: Shrink this to only include the starting index?

level: u8

The paragraph embedding level. http://www.unicode.org/reports/tr9/#BD4

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 !=.

impl Debug for ParagraphInfo
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.