Enum unic_locale::CharacterDirection
source · pub enum CharacterDirection {
RTL,
LTR,
TTB,
}
Expand description
Enum representing available character direction orientations.
Variants§
RTL
Right To Left
Used in languages such as Arabic, Hebrew, Fula, Kurdish etc.
LTR
Left To Right
Used in languages such as French, Spanish, English, German etc.
TTB
Top To Bottom
Used in Traditional Mongolian
Trait Implementations§
source§impl Clone for CharacterDirection
impl Clone for CharacterDirection
source§fn clone(&self) -> CharacterDirection
fn clone(&self) -> CharacterDirection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CharacterDirection
impl Debug for CharacterDirection
source§impl PartialEq for CharacterDirection
impl PartialEq for CharacterDirection
source§fn eq(&self, other: &CharacterDirection) -> bool
fn eq(&self, other: &CharacterDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CharacterDirection
impl StructuralPartialEq for CharacterDirection
Auto Trait Implementations§
impl Freeze for CharacterDirection
impl RefUnwindSafe for CharacterDirection
impl Send for CharacterDirection
impl Sync for CharacterDirection
impl Unpin for CharacterDirection
impl UnwindSafe for CharacterDirection
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