Enum primitives::prelude::Direction
source · [−]pub enum Direction {
Ltr,
Rtl,
Inherit,
}
Expand description
Specifies the current text direction used to draw text
Variants
Ltr
Left to right text direction
Rtl
Right to left text direction
Inherit
Inherited text direction
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnwindSafe for Direction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more