pub enum Action {
Show 20 variants
MoveTo {
byte_index: usize,
},
MoveLeft {
count: u8,
},
MoveRight {
count: u8,
},
MoveUp {
goal_column: GoalColumn,
count: u8,
},
MoveDown {
goal_column: GoalColumn,
count: u8,
},
MoveToPrevByte {
byte: u8,
count: u8,
},
MoveToNextByte {
byte: u8,
count: u8,
},
MoveToPrevBlank {
count: u8,
},
MoveToNextBlank {
count: u8,
},
MoveToStart,
MoveToEnd,
MoveToBottom,
MoveToLineStart,
MoveToLineNonBlankStart,
MoveToLineEnd,
MoveUntilLineEnd,
InsertChar {
char: char,
},
Insert {
text: String,
},
DeleteBefore,
DeleteAfter,
}Variants§
MoveTo
MoveLeft
MoveRight
MoveUp
MoveDown
MoveToPrevByte
MoveToNextByte
MoveToPrevBlank
MoveToNextBlank
MoveToStart
MoveToEnd
MoveToBottom
MoveToLineStart
MoveToLineNonBlankStart
MoveToLineEnd
MoveUntilLineEnd
InsertChar
Insert
DeleteBefore
DeleteAfter
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for Action
impl<'arbitrary> Arbitrary<'arbitrary> for Action
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreAuto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin 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