Struct ClassAscii

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

fn clone(&self) -> Self

impl Debug for ClassAscii

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for ClassAscii

impl PartialEq for ClassAscii

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for ClassAscii

Auto Trait Implementations

impl Freeze for ClassAscii

impl RefUnwindSafe for ClassAscii

impl Send for ClassAscii

impl Sync for ClassAscii

impl Unpin for ClassAscii

impl UnsafeUnpin for ClassAscii

impl UnwindSafe for ClassAscii

Blanket Implementations

impl<T> Any for ClassAscii where T: 'static + ?Sized,

impl<T> Borrow<T> for ClassAscii where T: ?Sized,

impl<T> BorrowMut<T> for ClassAscii where T: ?Sized,

impl<T> CloneToUninit for ClassAscii where T: Clone,

impl<T> From<T> for ClassAscii

impl<T> ToOwned for ClassAscii where T: Clone,

impl<T, U> Into<U> for ClassAscii where U: From<T>,

impl<T, U> TryFrom<U> for ClassAscii where U: Into<T>,

impl<T, U> TryInto<U> for ClassAscii where U: TryFrom<T>,