pub enum ShapeDirection {
Ltr,
Rtl,
Ttb,
Btt,
}Expand description
Text direction for a shaping request.
Variants§
Ltr
Left-to-right (default for Latin, Cyrillic, etc.).
Rtl
Right-to-left (Arabic, Hebrew, etc.).
Ttb
Top-to-bottom (CJK vertical text).
Btt
Bottom-to-top (rare).
Trait Implementations§
Source§impl Clone for ShapeDirection
impl Clone for ShapeDirection
Source§fn clone(&self) -> ShapeDirection
fn clone(&self) -> ShapeDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShapeDirection
Source§impl Debug for ShapeDirection
impl Debug for ShapeDirection
Source§impl Default for ShapeDirection
impl Default for ShapeDirection
Source§fn default() -> ShapeDirection
fn default() -> ShapeDirection
Returns the “default value” for a type. Read more
impl Eq for ShapeDirection
Source§impl PartialEq for ShapeDirection
impl PartialEq for ShapeDirection
Source§fn eq(&self, other: &ShapeDirection) -> bool
fn eq(&self, other: &ShapeDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShapeDirection
Auto Trait Implementations§
impl Freeze for ShapeDirection
impl RefUnwindSafe for ShapeDirection
impl Send for ShapeDirection
impl Sync for ShapeDirection
impl Unpin for ShapeDirection
impl UnsafeUnpin for ShapeDirection
impl UnwindSafe for ShapeDirection
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.