Enum Direction

enum Direction

Delete (kill) direction

Variants

Forward

After cursor

Backward

Before cursor

Implementations

impl Clone for Direction

fn clone(self: &Self) -> Direction

impl Copy for Direction

impl Debug for Direction

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Default for Direction

fn default() -> Direction

impl Eq for Direction

impl Freeze for Direction

impl PartialEq for Direction

fn eq(self: &Self, other: &Direction) -> bool

impl RefUnwindSafe for Direction

impl Send for Direction

impl StructuralPartialEq for Direction

impl Sync for Direction

impl Unpin for Direction

impl UnwindSafe for Direction

impl<T> Any for Direction

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Direction

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Direction

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Direction

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Direction

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Direction

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Direction

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Direction

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Direction

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>