pub enum RegularPathExpr {
Label(String),
Concat(Box<RegularPathExpr>, Box<RegularPathExpr>),
Alternation(Box<RegularPathExpr>, Box<RegularPathExpr>),
KleeneStar(Box<RegularPathExpr>),
Bounded {
inner: Box<RegularPathExpr>,
min: u32,
max: u32,
},
}Expand description
Regular path expression.
Variants§
Label(String)
A single edge label.
Concat(Box<RegularPathExpr>, Box<RegularPathExpr>)
lhs / rhs.
Alternation(Box<RegularPathExpr>, Box<RegularPathExpr>)
lhs | rhs.
KleeneStar(Box<RegularPathExpr>)
inner *.
Bounded
inner { min, max }.
Implementations§
Trait Implementations§
Source§impl Clone for RegularPathExpr
impl Clone for RegularPathExpr
Source§fn clone(&self) -> RegularPathExpr
fn clone(&self) -> RegularPathExpr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegularPathExpr
impl Debug for RegularPathExpr
impl Eq for RegularPathExpr
Source§impl Hash for RegularPathExpr
impl Hash for RegularPathExpr
Source§impl PartialEq for RegularPathExpr
impl PartialEq for RegularPathExpr
impl StructuralPartialEq for RegularPathExpr
Auto Trait Implementations§
impl Freeze for RegularPathExpr
impl RefUnwindSafe for RegularPathExpr
impl Send for RegularPathExpr
impl Sync for RegularPathExpr
impl Unpin for RegularPathExpr
impl UnsafeUnpin for RegularPathExpr
impl UnwindSafe for RegularPathExpr
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