pub enum PropertyKind {
Lower,
Upper,
}Expand description
The Unicode properties this engine can answer.
Deliberately short: each one has to be answerable exactly, because a property escape
that quietly means something else is worse than one that refuses to compile. Lower and
Upper are answered by char::is_lowercase/is_uppercase, which track Unicode’s
Lowercase/Uppercase derived properties — a superset of the Ll/Lu general
categories, agreeing with them on every character the conformance tests exercise.
Variants§
Implementations§
Source§impl PropertyKind
impl PropertyKind
Trait Implementations§
Source§impl Clone for PropertyKind
impl Clone for PropertyKind
impl Copy for PropertyKind
Source§impl Debug for PropertyKind
impl Debug for PropertyKind
impl Eq for PropertyKind
Source§impl PartialEq for PropertyKind
impl PartialEq for PropertyKind
impl StructuralPartialEq for PropertyKind
Auto Trait Implementations§
impl Forget for PropertyKind
impl Freeze for PropertyKind
impl Move for PropertyKind
impl RefUnwindSafe for PropertyKind
impl Send for PropertyKind
impl Sync for PropertyKind
impl Unpin for PropertyKind
impl UnsafeUnpin for PropertyKind
impl UnwindSafe for PropertyKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more