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

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 PartialEq<ClassUnicodeKind> for ClassUnicodeKind[src]

impl Clone for ClassUnicodeKind[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for ClassUnicodeKind[src]

impl Debug for ClassUnicodeKind[src]

Auto Trait Implementations

impl Send for ClassUnicodeKind

impl Sync for ClassUnicodeKind

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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.

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

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

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