1// Copyright 2017 The Servo Project Developers. See the
2// COPYRIGHT file at the top-level directory of this distribution.
3//
4// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
5// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
7// option. This file may not be copied, modified, or distributed
8// except according to those terms.
9
10//! Directional Formatting Characters
11//!
12//! <http://www.unicode.org/reports/tr9/#Directional_Formatting_Characters>
13
14// == Implicit ==
15/// ARABIC LETTER MARK
16pub const ALM: char = '\u{061C}';
17/// LEFT-TO-RIGHT MARK
18pub const LRM: char = '\u{200E}';
19/// RIGHT-TO-LEFT MARK
20pub const RLM: char = '\u{200F}';
21
22// == Explicit Isolates ==
23/// LEFT‑TO‑RIGHT ISOLATE
24pub const LRI: char = '\u{2066}';
25/// RIGHT‑TO‑LEFT ISOLATE
26pub const RLI: char = '\u{2067}';
27/// FIRST STRONG ISOLATE
28pub const FSI: char = '\u{2068}';
29/// POP DIRECTIONAL ISOLATE
30pub const PDI: char = '\u{2069}';
31
32// == Explicit Embeddings and Overrides ==
33/// LEFT-TO-RIGHT EMBEDDING
34pub const LRE: char = '\u{202A}';
35/// RIGHT-TO-LEFT EMBEDDING
36pub const RLE: char = '\u{202B}';
37/// POP DIRECTIONAL FORMATTING
38pub const PDF: char = '\u{202C}';
39/// LEFT-TO-RIGHT OVERRIDE
40pub const LRO: char = '\u{202D}';
41/// RIGHT-TO-LEFT OVERRIDE
42pub const RLO: char = '\u{202E}';
43