pub struct PropertyRef {
pub negated: bool,
pub kind: PropKind,
pub name: &'static str,
pub exact: bool,
}Expand description
A resolved \p{...} / \P{...} reference: the name is already validated
against the pinned Unicode data.
Fields§
§negated: bool\P{...} or \p{^...}.
kind: PropKindProperty family.
name: &'static strCanonical name within the family.
exact: boolDerived from a POSIX class: exempt from caseless widening (PCRE2).
Trait Implementations§
Source§impl Clone for PropertyRef
impl Clone for PropertyRef
impl Copy for PropertyRef
Source§impl Debug for PropertyRef
impl Debug for PropertyRef
impl Eq for PropertyRef
Source§impl PartialEq for PropertyRef
impl PartialEq for PropertyRef
impl StructuralPartialEq for PropertyRef
Auto Trait Implementations§
impl Forget for PropertyRef
impl Freeze for PropertyRef
impl RefUnwindSafe for PropertyRef
impl Send for PropertyRef
impl Sync for PropertyRef
impl Unpin for PropertyRef
impl UnsafeUnpin for PropertyRef
impl UnwindSafe for PropertyRef
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