Enum Word

pub enum Word

Different word definitions

Variants

Big

non-blanks characters

Emacs

alphanumeric characters

Vi

alphanumeric (and '_') characters

Trait Implementations

impl Clone for Word

fn clone(&self) -> Self

impl Copy for Word

impl Debug for Word

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

impl Eq for Word

impl PartialEq for Word

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

impl StructuralPartialEq for Word

Auto Trait Implementations

impl Freeze for Word

impl RefUnwindSafe for Word

impl Send for Word

impl Sync for Word

impl Unpin for Word

impl UnsafeUnpin for Word

impl UnwindSafe for Word

Blanket Implementations

impl<T> Any for Word where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Word where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Word where T: ?Sized,

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

impl<T> CloneToUninit for Word where T: Clone,

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

impl<T> From<T> for Word

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Word where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for Word where U: From<T>,

fn into(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<U> for Word where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for Word where U: TryFrom<T>,

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