Struct unicode_bidi::HardcodedBidiData
source · pub struct HardcodedBidiData;
Expand description
Hardcoded Bidi data that ships with the unicode-bidi crate.
This can be enabled with the default hardcoded-data
Cargo feature.
Trait Implementations§
source§impl BidiDataSource for HardcodedBidiData
impl BidiDataSource for HardcodedBidiData
fn bidi_class(&self, c: char) -> BidiClass
source§fn bidi_matched_opening_bracket(
&self,
c: char
) -> Option<BidiMatchedOpeningBracket>
fn bidi_matched_opening_bracket( &self, c: char ) -> Option<BidiMatchedOpeningBracket>
If this character is a bracket according to BidiBrackets.txt,
return the corresponding normalized opening bracket of the pair,
and whether or not it itself is an opening bracket. Read more