enum Node {
Show 13 variants
Empty,
Char(char),
Any,
Class(ClassData),
Start,
End,
WordBoundary(bool),
Group {
idx: Option<usize>,
node: Box<Node>,
},
Concat(Vec<Node>),
Alt(Vec<Node>),
Repeat {
node: Box<Node>,
min: usize,
max: Option<usize>,
greedy: bool,
},
Backref(usize),
Look {
ahead: bool,
negate: bool,
node: Box<Node>,
},
}Variants§
Empty
Char(char)
Any
Class(ClassData)
Start
End
WordBoundary(bool)
Group
Concat(Vec<Node>)
Alt(Vec<Node>)
Repeat
Backref(usize)
Look
先読み (?=…)/(?!…)・後読み (?<=…)/(?<!…)(位置を進めない)。
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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