pub enum PtKind {
Empty,
Anchor {
anchor: AnchorKind,
},
Char {
c: char,
},
ClassChar {
c: char,
},
Concat,
AltTaken {
arm: u32,
},
Repeat {
count: u32,
},
Group {
index: Option<u32>,
name: Option<Box<str>>,
},
OptTaken {
taken: bool,
},
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PtKind
impl<'de> Deserialize<'de> for PtKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PtKind
impl StructuralPartialEq for PtKind
Auto Trait Implementations§
impl Freeze for PtKind
impl RefUnwindSafe for PtKind
impl Send for PtKind
impl Sync for PtKind
impl Unpin for PtKind
impl UnsafeUnpin for PtKind
impl UnwindSafe for PtKind
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