pub struct UnIndent;Expand description
Removes one indentation level from the start of the current line or selected lines.
- If there is a selection, removes indentation from each selected line.
- If there is no selection, removes indentation from the current line.
- Updates cursor and selection accordingly.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnIndent
impl RefUnwindSafe for UnIndent
impl Send for UnIndent
impl Sync for UnIndent
impl Unpin for UnIndent
impl UnsafeUnpin for UnIndent
impl UnwindSafe for UnIndent
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