pub fn match_range<L1, L2>(from: L1, to: L2, subpattern: Pattern) -> Self
    where
        L1: AsRef<[u8]>,
        L2: AsRef<[u8]>,
    {
        Pattern(PatternKind::MatchRange(
            from.as_ref().to_vec(),
            to.as_ref().to_vec(),
            Box::new(subpattern.0),
        ))
    }
/// Match all the edges in range [from, to) and apply the `subpattern` to
/// subtrees these edges point to.
Match all the edges in range [from, to) and apply the `subpattern` to
subtrees these edges point to.
Match all the edges in range [ from to ) and apply the ` subpattern ` to subtrees these edges point to .
pub fn match_range<L1, L2>(from: L1, to: L2, subpattern: Pattern) -> Self
    where
        L1: AsRef<[u8]>,
        L2: AsRef<[u8]>,
    {
        Pattern(PatternKind::MatchRange(
            from.as_ref().to_vec(),
            to.as_ref().to_vec(),
            Box::new(subpattern.0),
        ))
    }
pub fn match_range < L1 , L2 > ( from : L1 , to : L2 , subpattern : Pattern ) -> Self where L1 : AsRef < [ u8 ] > , L2 : AsRef < [ u8 ] > , { Pattern ( PatternKind :: MatchRange ( from . as_ref ( ) . to_vec ( ) , to . as_ref ( ) . to_vec ( ) , Box :: new ( subpattern . 0 ) , ) ) }
Match all the edges in range [from, to) and apply the `subpattern` to
subtrees these edges point to.
Match all the edges in range [ from to ) and apply the ` subpattern ` to subtrees these edges point to .
from
L1
to
L2
subpattern
Pattern
from
L1
to
L2
subpattern
Pattern