Enum druid::text::WritingDirection
source · 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 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 WritingDirection
impl Debug for WritingDirection
source§impl Hash for WritingDirection
impl Hash for WritingDirection
source§impl PartialEq<WritingDirection> for WritingDirection
impl PartialEq<WritingDirection> for WritingDirection
source§fn eq(&self, other: &WritingDirection) -> bool
fn eq(&self, other: &WritingDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WritingDirection
impl Eq for WritingDirection
impl StructuralEq for WritingDirection
impl StructuralPartialEq for WritingDirection
Auto Trait Implementations§
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> 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> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.