Struct ClassPerl

struct ClassPerl { ... }

A Perl character class.

Fields

span: Span

The span of this class.

kind: ClassPerlKind

The kind of Perl class.

negated: bool

Whether the class is negated or not. e.g., \d is not negated but \D is.

Implementations

impl Clone for ClassPerl

fn clone(self: &Self) -> ClassPerl

impl Debug for ClassPerl

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

impl Eq for ClassPerl

impl Freeze for ClassPerl

impl PartialEq for ClassPerl

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

impl RefUnwindSafe for ClassPerl

impl Send for ClassPerl

impl StructuralPartialEq for ClassPerl

impl Sync for ClassPerl

impl Unpin for ClassPerl

impl UnsafeUnpin for ClassPerl

impl UnwindSafe for ClassPerl

impl<T> Any for ClassPerl

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ClassPerl

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

impl<T> BorrowMut for ClassPerl

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

impl<T> CloneToUninit for ClassPerl

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

impl<T> From for ClassPerl

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ClassPerl

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

impl<T, U> Into for ClassPerl

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 ClassPerl

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

impl<T, U> TryInto for ClassPerl

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