Enum Text Direction
pub enum TextDirection {
LeftToRight,
RightToLeft,
}Expand description
Direction belongs to the caller’s script/bidi segmentation, not auto detection.
Variants§
Trait Implementations§
§impl Clone for TextDirection
impl Clone for TextDirection
§fn clone(&self) -> TextDirection
fn clone(&self) -> TextDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextDirection
§impl Debug for TextDirection
impl Debug for TextDirection
impl Eq for TextDirection
§impl PartialEq for TextDirection
impl PartialEq for TextDirection
impl StructuralPartialEq for TextDirection
Auto Trait Implementations§
impl Freeze for TextDirection
impl RefUnwindSafe for TextDirection
impl Send for TextDirection
impl Sync for TextDirection
impl Unpin for TextDirection
impl UnsafeUnpin for TextDirection
impl UnwindSafe for TextDirection
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more