pub enum CaretDirection {
Primary,
Secondary,
}Expand description
Which of its two places a caret takes where the text before and after it runs in different directions.
Variants§
Primary
The place of the paragraph’s direction: Compose’s
usePrimaryDirection = true.
Secondary
The other place.
Trait Implementations§
Source§impl Clone for CaretDirection
impl Clone for CaretDirection
impl Copy for CaretDirection
Source§impl Debug for CaretDirection
impl Debug for CaretDirection
impl Eq for CaretDirection
Source§impl PartialEq for CaretDirection
impl PartialEq for CaretDirection
impl StructuralPartialEq for CaretDirection
Auto Trait Implementations§
impl Forget for CaretDirection
impl Freeze for CaretDirection
impl Move for CaretDirection
impl RefUnwindSafe for CaretDirection
impl Send for CaretDirection
impl Sync for CaretDirection
impl Unpin for CaretDirection
impl UnsafeUnpin for CaretDirection
impl UnwindSafe for CaretDirection
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