Enum ClassUnicodeKind

enum ClassUnicodeKind

The available forms of Unicode character classes.

Variants

OneLetter(char)

A one letter abbreviated class, e.g., \pN.

Named(alloc::string::String)

A binary property, general category or script. The string may be empty.

NamedValue { op: ClassUnicodeOpKind, name: alloc::string::String, value: alloc::string::String }

A property name and an associated value.

Implementations

impl Clone for ClassUnicodeKind

fn clone(self: &Self) -> ClassUnicodeKind

impl Debug for ClassUnicodeKind

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

impl Eq for ClassUnicodeKind

impl Freeze for ClassUnicodeKind

impl PartialEq for ClassUnicodeKind

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

impl RefUnwindSafe for ClassUnicodeKind

impl Send for ClassUnicodeKind

impl StructuralPartialEq for ClassUnicodeKind

impl Sync for ClassUnicodeKind

impl Unpin for ClassUnicodeKind

impl UnsafeUnpin for ClassUnicodeKind

impl UnwindSafe for ClassUnicodeKind

impl<T> Any for ClassUnicodeKind

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ClassUnicodeKind

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

impl<T> BorrowMut for ClassUnicodeKind

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

impl<T> CloneToUninit for ClassUnicodeKind

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

impl<T> From for ClassUnicodeKind

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ClassUnicodeKind

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

impl<T, U> Into for ClassUnicodeKind

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 ClassUnicodeKind

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

impl<T, U> TryInto for ClassUnicodeKind

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