pub struct Action {}
Implementations§
Source§impl Action
impl Action
pub fn insert( cursor: &mut Cursor, buffer: &mut Buffer, s: &str, prev_unmatched: &dyn Fn(&Buffer, char, usize) -> Option<usize>, auto_closing_matching_pairs: bool, auto_surround: bool, ) -> Vec<(Rope, RopeDelta, InvalLines)>
pub fn execute_motion_mode( cursor: &mut Cursor, buffer: &mut Buffer, motion_mode: MotionMode, range: Range<usize>, is_vertical: bool, register: &mut Register, ) -> Vec<(Rope, RopeDelta, InvalLines)>
pub fn do_paste( cursor: &mut Cursor, buffer: &mut Buffer, data: &RegisterData, ) -> Vec<(Rope, RopeDelta, InvalLines)>
pub fn do_edit<T: Clipboard>( cursor: &mut Cursor, buffer: &mut Buffer, cmd: &EditCommand, clipboard: &mut T, register: &mut Register, _: EditConf<'_>, ) -> Vec<(Rope, RopeDelta, InvalLines)>
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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