[][src]Struct regex_syntax::ast::ClassBracketed

pub struct ClassBracketed {
    pub span: Span,
    pub negated: bool,
    pub kind: ClassSet,
}

A bracketed character class, e.g., [a-z0-9].

Fields

span: Span

The span of this class.

negated: bool

Whether this class is negated or not. e.g., [a] is not negated but [^a] is.

kind: ClassSet

The type of this set. A set is either a normal union of things, e.g., [abc] or a result of applying set operations, e.g., [\pL--c].

Trait Implementations

impl Clone for ClassBracketed[src]

impl Debug for ClassBracketed[src]

impl Eq for ClassBracketed[src]

impl PartialEq<ClassBracketed> for ClassBracketed[src]

impl StructuralEq for ClassBracketed[src]

impl StructuralPartialEq for ClassBracketed[src]

Auto Trait Implementations

impl RefUnwindSafe for ClassBracketed

impl Send for ClassBracketed

impl Sync for ClassBracketed

impl Unpin for ClassBracketed

impl UnwindSafe for ClassBracketed

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.