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

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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