Enum AssertionKind

enum AssertionKind

An assertion kind.

Variants

StartLine

^

EndLine

$

StartText

\A

EndText

\z

WordBoundary

\b

NotWordBoundary

\B

WordBoundaryStart

\b{start}

WordBoundaryEnd

\b{end}

WordBoundaryStartAngle

\< (alias for \b{start})

WordBoundaryEndAngle

\> (alias for \b{end})

WordBoundaryStartHalf

\b{start-half}

WordBoundaryEndHalf

\b{end-half}

Implementations

impl Clone for AssertionKind

fn clone(self: &Self) -> AssertionKind

impl Debug for AssertionKind

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

impl Eq for AssertionKind

impl Freeze for AssertionKind

impl PartialEq for AssertionKind

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

impl RefUnwindSafe for AssertionKind

impl Send for AssertionKind

impl StructuralPartialEq for AssertionKind

impl Sync for AssertionKind

impl Unpin for AssertionKind

impl UnsafeUnpin for AssertionKind

impl UnwindSafe for AssertionKind

impl<T> Any for AssertionKind

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for AssertionKind

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

impl<T> BorrowMut for AssertionKind

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

impl<T> CloneToUninit for AssertionKind

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

impl<T> From for AssertionKind

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for AssertionKind

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

impl<T, U> Into for AssertionKind

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 AssertionKind

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

impl<T, U> TryInto for AssertionKind

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