pub struct MoveDown {
pub shift: bool,
}Expand description
Moves the cursor one line down.
If the next line is shorter, the cursor is placed at the end of that line.
If shift is true, the selection is extended to the new cursor position.
If shift is false, the selection is cleared.
Fields§
§shift: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for MoveDown
impl RefUnwindSafe for MoveDown
impl Send for MoveDown
impl Sync for MoveDown
impl Unpin for MoveDown
impl UnsafeUnpin for MoveDown
impl UnwindSafe for MoveDown
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more