pub enum WritingDirection {
LeftToRight,
RightToLeft,
Natural,
}
Expand description
Indicates a horizontal direction for writing text.
Variants§
LeftToRight
RightToLeft
Natural
Indicates writing direction should be automatically detected based on the text contents.
Trait Implementations§
Source§impl Clone for WritingDirection
impl Clone for WritingDirection
Source§fn clone(&self) -> WritingDirection
fn clone(&self) -> WritingDirection
Returns a duplicate 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 WritingDirection
impl Debug for WritingDirection
Source§impl Hash for WritingDirection
impl Hash for WritingDirection
Source§impl PartialEq for WritingDirection
impl PartialEq for WritingDirection
impl Copy for WritingDirection
impl Eq for WritingDirection
impl StructuralPartialEq for WritingDirection
Auto Trait Implementations§
impl Freeze for WritingDirection
impl RefUnwindSafe for WritingDirection
impl Send for WritingDirection
impl Sync for WritingDirection
impl Unpin for WritingDirection
impl UnwindSafe for WritingDirection
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.