1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
/// The direction of the glyph.
#[derive(PartialEq, Eq, Clone, Copy, Debug)]
pub enum Direction {
	/// Default direction, typically lef-to-right.
	Default,

	/// Alternate direction, typically right-to-left.
	Alternate,

	/// Both directions.
	Both,
}

impl Default for Direction {
	#[inline]
	fn default() -> Self {
		Direction::Default
	}
}