Struct regex_syntax::ast::ClassAscii[][src]

pub struct ClassAscii {
    pub span: Span,
    pub kind: ClassAsciiKind,
    pub negated: bool,
}

An ASCII character class.

Fields

span: Span

The span of this class.

kind: ClassAsciiKind

The kind of ASCII class.

negated: bool

Whether the class is negated or not. e.g., [[:alpha:]] is not negated but [[:^alpha:]] is.

Trait Implementations

impl Clone for ClassAscii[src]

impl Debug for ClassAscii[src]

impl Eq for ClassAscii[src]

impl PartialEq<ClassAscii> for ClassAscii[src]

impl StructuralEq for ClassAscii[src]

impl StructuralPartialEq for ClassAscii[src]

Auto Trait Implementations

impl RefUnwindSafe for ClassAscii

impl Send for ClassAscii

impl Sync for ClassAscii

impl Unpin for ClassAscii

impl UnwindSafe for ClassAscii

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.