pub enum WritingMode {
LrTb,
RlTb,
TbRl,
}Expand description
The directions of layout progression for packing of ILSEs (inline progression) and stacking of BLSEs (block progression). The specified layout directions shall apply to the given structure element and all of its descendants to any level of nesting.
Default value: WritingMode::LrTb.
Variants§
LrTb
Inline progression from left to right; block progression from top to bottom. This is the typical writing mode for Western writing systems.
RlTb
Inline progression from right to left; block progression from top to bottom. This is the typical writing mode for Arabic and Hebrew writing systems.
TbRl
Inline progression from top to bottom; block progression from right to left. This is the typical writing mode for Chinese and Japanese writing systems.
Trait Implementations§
Source§impl Clone for WritingMode
impl Clone for WritingMode
Source§fn clone(&self) -> WritingMode
fn clone(&self) -> WritingMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WritingMode
Source§impl Debug for WritingMode
impl Debug for WritingMode
Source§impl Default for WritingMode
impl Default for WritingMode
Source§fn default() -> WritingMode
fn default() -> WritingMode
Returns the “default value” for a type. Read more
impl Eq for WritingMode
Source§impl Output for WritingMode
impl Output for WritingMode
Source§impl PartialEq for WritingMode
impl PartialEq for WritingMode
impl StructuralPartialEq for WritingMode
Auto Trait Implementations§
impl Freeze for WritingMode
impl RefUnwindSafe for WritingMode
impl Send for WritingMode
impl Sync for WritingMode
impl Unpin for WritingMode
impl UnsafeUnpin for WritingMode
impl UnwindSafe for WritingMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.