pub enum RunDirection {
Ltr,
Rtl,
}Expand description
A text direction for run partitioning.
This is a local enum to avoid a hard dependency on the bidi feature.
When bidi is enabled, use Direction::from_bidi() for conversion.
Variants§
Trait Implementations§
Source§impl Clone for RunDirection
impl Clone for RunDirection
Source§fn clone(&self) -> RunDirection
fn clone(&self) -> RunDirection
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 RunDirection
impl Debug for RunDirection
Source§impl Hash for RunDirection
impl Hash for RunDirection
Source§impl PartialEq for RunDirection
impl PartialEq for RunDirection
impl Copy for RunDirection
impl Eq for RunDirection
impl StructuralPartialEq for RunDirection
Auto Trait Implementations§
impl Freeze for RunDirection
impl RefUnwindSafe for RunDirection
impl Send for RunDirection
impl Sync for RunDirection
impl Unpin for RunDirection
impl UnsafeUnpin for RunDirection
impl UnwindSafe for RunDirection
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.