Enum ClassSetBinaryOpKind
pub enum ClassSetBinaryOpKind
The type of a Unicode character class set operation.
Note that this doesn't explicitly represent union since there is no explicit union operator. Concatenation inside a character class corresponds to the union operation.
Variants
-
Intersection The intersection of two sets, e.g.,
\pN&&[a-z].-
Difference The difference of two sets, e.g.,
\pN--[0-9].-
SymmetricDifference The symmetric difference of two sets. The symmetric difference is the set of elements belonging to one but not both sets. e.g.,
[\pL~~[:ascii:]].
Trait Implementations
impl Clone for ClassSetBinaryOpKind
fn clone(&self) -> Self
impl Copy for ClassSetBinaryOpKind
impl Debug for ClassSetBinaryOpKind
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ClassSetBinaryOpKind
impl PartialEq for ClassSetBinaryOpKind
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for ClassSetBinaryOpKind
Auto Trait Implementations
impl Freeze for ClassSetBinaryOpKind
impl RefUnwindSafe for ClassSetBinaryOpKind
impl Send for ClassSetBinaryOpKind
impl Sync for ClassSetBinaryOpKind
impl Unpin for ClassSetBinaryOpKind
impl UnsafeUnpin for ClassSetBinaryOpKind
impl UnwindSafe for ClassSetBinaryOpKind
Blanket Implementations
impl<T> Any for ClassSetBinaryOpKind
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ClassSetBinaryOpKind
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ClassSetBinaryOpKind
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for ClassSetBinaryOpKind
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for ClassSetBinaryOpKind
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for ClassSetBinaryOpKind
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for ClassSetBinaryOpKind
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ClassSetBinaryOpKind
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for ClassSetBinaryOpKind
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>