Enum ClassUnicodeKind
pub enum ClassUnicodeKind
The available forms of Unicode character classes.
Variants
-
OneLetter(char) A one letter abbreviated class, e.g.,
\pN.-
Named(String) A binary property, general category or script. The string may be empty.
-
NamedValue { op: ClassUnicodeOpKind, name: String, value: String } A property name and an associated value.
Trait Implementations
impl Clone for ClassUnicodeKind
fn clone(&self) -> Self
impl Debug for ClassUnicodeKind
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ClassUnicodeKind
impl PartialEq for ClassUnicodeKind
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for ClassUnicodeKind
Auto Trait Implementations
impl Freeze for ClassUnicodeKind
impl RefUnwindSafe for ClassUnicodeKind
impl Send for ClassUnicodeKind
impl Sync for ClassUnicodeKind
impl Unpin for ClassUnicodeKind
impl UnsafeUnpin for ClassUnicodeKind
impl UnwindSafe for ClassUnicodeKind
Blanket Implementations
impl<T> Any for ClassUnicodeKind
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ClassUnicodeKind
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ClassUnicodeKind
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for ClassUnicodeKind
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for ClassUnicodeKind
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for ClassUnicodeKind
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for ClassUnicodeKind
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 ClassUnicodeKind
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for ClassUnicodeKind
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>