pub enum ParagraphDirectionHint {
LeftToRight,
RightToLeft,
AutoLeftToRight,
AutoRightToLeft,
}
Variants§
LeftToRight
RightToLeft
AutoLeftToRight
Attempt to auto-detect but fall back to LTR
AutoRightToLeft
Attempt to auto-detect but fall back to RTL
Implementations§
Trait Implementations§
source§impl Clone for ParagraphDirectionHint
impl Clone for ParagraphDirectionHint
source§fn clone(&self) -> ParagraphDirectionHint
fn clone(&self) -> ParagraphDirectionHint
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 ParagraphDirectionHint
impl Debug for ParagraphDirectionHint
source§impl Default for ParagraphDirectionHint
impl Default for ParagraphDirectionHint
source§impl FromDynamic for ParagraphDirectionHint
impl FromDynamic for ParagraphDirectionHint
fn from_dynamic( value: &Value, options: FromDynamicOptions ) -> Result<Self, Error>
source§impl PartialEq for ParagraphDirectionHint
impl PartialEq for ParagraphDirectionHint
source§fn eq(&self, other: &ParagraphDirectionHint) -> bool
fn eq(&self, other: &ParagraphDirectionHint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToDynamic for ParagraphDirectionHint
impl ToDynamic for ParagraphDirectionHint
fn to_dynamic(&self) -> Value
impl Copy for ParagraphDirectionHint
impl Eq for ParagraphDirectionHint
impl StructuralEq for ParagraphDirectionHint
impl StructuralPartialEq for ParagraphDirectionHint
Auto Trait Implementations§
impl RefUnwindSafe for ParagraphDirectionHint
impl Send for ParagraphDirectionHint
impl Sync for ParagraphDirectionHint
impl Unpin for ParagraphDirectionHint
impl UnwindSafe for ParagraphDirectionHint
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