pub struct DeleteWordForward(pub usize);Expand description
Deletes from cursor to the end of the current word (Emacs Alt+d).
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for DeleteWordForward
impl Clone for DeleteWordForward
Source§fn clone(&self) -> DeleteWordForward
fn clone(&self) -> DeleteWordForward
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeleteWordForward
Source§impl Debug for DeleteWordForward
impl Debug for DeleteWordForward
Source§impl Execute for DeleteWordForward
impl Execute for DeleteWordForward
fn execute(&mut self, state: &mut EditorState)
Source§fn is_repeatable(&self) -> bool
fn is_repeatable(&self) -> bool
Whether this action can be replayed by the dot-repeat command.
Source§impl From<DeleteWordForward> for Action
impl From<DeleteWordForward> for Action
Source§fn from(v: DeleteWordForward) -> Action
fn from(v: DeleteWordForward) -> Action
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeleteWordForward
impl RefUnwindSafe for DeleteWordForward
impl Send for DeleteWordForward
impl Sync for DeleteWordForward
impl Unpin for DeleteWordForward
impl UnsafeUnpin for DeleteWordForward
impl UnwindSafe for DeleteWordForward
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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