pub enum SubroutineTarget {
Whole,
Group(usize),
Name(String),
}Variants§
Whole
(?R) - recurse into the whole pattern.
Group(usize)
(?N), or a (?-N)/(?+N) already resolved to an absolute number.
Name(String)
(?&name) / (?P>name), not yet resolved to a group number.
Trait Implementations§
Source§impl Clone for SubroutineTarget
impl Clone for SubroutineTarget
Source§impl Debug for SubroutineTarget
impl Debug for SubroutineTarget
Source§impl PartialEq for SubroutineTarget
impl PartialEq for SubroutineTarget
impl StructuralPartialEq for SubroutineTarget
Auto Trait Implementations§
impl Freeze for SubroutineTarget
impl RefUnwindSafe for SubroutineTarget
impl Send for SubroutineTarget
impl Sync for SubroutineTarget
impl Unpin for SubroutineTarget
impl UnsafeUnpin for SubroutineTarget
impl UnwindSafe for SubroutineTarget
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