Enum regex_syntax::ast::ClassUnicodeKind[][src]

pub enum ClassUnicodeKind {
    OneLetter(char),
    Named(String),
    NamedValue {
        op: ClassUnicodeOpKind,
        name: String,
        value: String,
    },
}

The available forms of Unicode character classes.

Variants

OneLetter(char)

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

Named(String)

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

NamedValue

A property name and an associated value.

Fields of NamedValue

op: ClassUnicodeOpKind

The type of Unicode op used to associate name with value.

name: String

The property name (which may be empty).

value: String

The property value (which may be empty).

Trait Implementations

impl Clone for ClassUnicodeKind[src]

impl Debug for ClassUnicodeKind[src]

impl Eq for ClassUnicodeKind[src]

impl PartialEq<ClassUnicodeKind> for ClassUnicodeKind[src]

impl StructuralEq for ClassUnicodeKind[src]

impl StructuralPartialEq for ClassUnicodeKind[src]

Auto Trait Implementations

impl RefUnwindSafe for ClassUnicodeKind

impl Send for ClassUnicodeKind

impl Sync for ClassUnicodeKind

impl Unpin for ClassUnicodeKind

impl UnwindSafe for ClassUnicodeKind

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.