Struct ClassAscii

struct ClassAscii { ... }

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.

Implementations

impl Clone for ClassAscii

fn clone(self: &Self) -> ClassAscii

impl Debug for ClassAscii

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

impl Eq for ClassAscii

impl Freeze for ClassAscii

impl PartialEq for ClassAscii

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

impl RefUnwindSafe for ClassAscii

impl Send for ClassAscii

impl StructuralPartialEq for ClassAscii

impl Sync for ClassAscii

impl Unpin for ClassAscii

impl UnsafeUnpin for ClassAscii

impl UnwindSafe for ClassAscii

impl<T> Any for ClassAscii

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ClassAscii

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ClassAscii

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for ClassAscii

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for ClassAscii

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ClassAscii

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for ClassAscii

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ClassAscii

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ClassAscii

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>