pub enum ParagraphDirection {
LeftToRight,
RightToLeft,
Neutral,
}Expand description
Bidi paragraph direction inferred from a string’s strongly-typed characters.
Variants§
LeftToRight
Left-to-right paragraph base direction.
RightToLeft
Right-to-left paragraph base direction.
Neutral
No strongly-typed characters; default to LTR per UAX #9.
Trait Implementations§
Source§impl Clone for ParagraphDirection
impl Clone for ParagraphDirection
impl Copy for ParagraphDirection
Source§impl Debug for ParagraphDirection
impl Debug for ParagraphDirection
impl Eq for ParagraphDirection
Source§impl PartialEq for ParagraphDirection
impl PartialEq for ParagraphDirection
impl StructuralPartialEq for ParagraphDirection
Auto Trait Implementations§
impl Forget for ParagraphDirection
impl Freeze for ParagraphDirection
impl Move for ParagraphDirection
impl RefUnwindSafe for ParagraphDirection
impl Send for ParagraphDirection
impl Sync for ParagraphDirection
impl Unpin for ParagraphDirection
impl UnsafeUnpin for ParagraphDirection
impl UnwindSafe for ParagraphDirection
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