Struct ClassSetBinaryOp

pub struct ClassSetBinaryOp { pub span: Span, pub kind: ClassSetBinaryOpKind, pub lhs: Box<ClassSet>, pub rhs: Box<ClassSet> }

A Unicode character class set operation.

Fields

span: Span

The span of this operation. e.g., the a-z--[h-p] in [a-z--h-p].

kind: ClassSetBinaryOpKind

The type of this set operation.

lhs: Box<ClassSet>

The left hand side of the operation.

rhs: Box<ClassSet>

The right hand side of the operation.

Trait Implementations

impl Clone for ClassSetBinaryOp

fn clone(&self) -> Self

impl Debug for ClassSetBinaryOp

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

impl Eq for ClassSetBinaryOp

impl PartialEq for ClassSetBinaryOp

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

impl StructuralPartialEq for ClassSetBinaryOp

Auto Trait Implementations

impl Freeze for ClassSetBinaryOp

impl RefUnwindSafe for ClassSetBinaryOp

impl Send for ClassSetBinaryOp

impl Sync for ClassSetBinaryOp

impl Unpin for ClassSetBinaryOp

impl UnsafeUnpin for ClassSetBinaryOp

impl UnwindSafe for ClassSetBinaryOp

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for ClassSetBinaryOp

fn from(t: T) -> T

Returns the argument unchanged.

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

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

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

fn into(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<U> for ClassSetBinaryOp where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

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

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