pub enum TextMove {
Left,
Right,
}Expand description
光标移动方向(均以 grapheme cluster 为步长,可跨硬行/软换行由 buffer 决定)。
Variants§
Trait Implementations§
impl Copy for TextMove
impl Eq for TextMove
impl StructuralPartialEq for TextMove
Auto Trait Implementations§
impl Forget for TextMove
impl Freeze for TextMove
impl Move for TextMove
impl RefUnwindSafe for TextMove
impl Send for TextMove
impl Sync for TextMove
impl Unpin for TextMove
impl UnsafeUnpin for TextMove
impl UnwindSafe for TextMove
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