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

impl Clone for ClassBracketed[src]

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

Performs copy-assignment from source. Read more

impl Eq for ClassBracketed[src]

impl Debug for ClassBracketed[src]

Auto Trait Implementations

impl Send for ClassBracketed

impl Sync for ClassBracketed

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]