pub enum TextDirection {
LeftToRight,
RightToLeft,
}Expand description
Direction of texts
Variants§
Trait Implementations§
Source§impl Clone for TextDirection
impl Clone for TextDirection
Source§fn clone(&self) -> TextDirection
fn clone(&self) -> TextDirection
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 TextDirection
Source§impl Debug for TextDirection
impl Debug for TextDirection
Source§impl Display for TextDirection
impl Display for TextDirection
impl Eq for TextDirection
Source§impl From<TextDirection> for Value<'_>
impl From<TextDirection> for Value<'_>
Source§fn from(value: TextDirection) -> Self
fn from(value: TextDirection) -> Self
Converts to this type from the input type.
Source§impl Hash for TextDirection
impl Hash for TextDirection
Source§impl PartialEq for TextDirection
impl PartialEq for TextDirection
Source§fn eq(&self, other: &TextDirection) -> bool
fn eq(&self, other: &TextDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextDirection
impl Serialize 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§
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