pub trait Builder: Sized {
    type Symbol;

    // Required methods
    fn empty_set() -> Regex<Self>;
    fn empty_string() -> Regex<Self>;
    fn symbol(value: Self::Symbol) -> Regex<Self>;
    fn closure(inner: Regex<Self>) -> Regex<Self>;
    fn concat(left: Regex<Self>, right: Regex<Self>) -> Regex<Self>;
    fn or(left: Regex<Self>, right: Regex<Self>) -> Regex<Self>;
    fn and(left: Regex<Self>, right: Regex<Self>) -> Regex<Self>;
    fn complement(inner: Regex<Self>) -> Regex<Self>;
}
Expand description

Constructor methods for regular expressions.

Required Associated Types§

Required Methods§

source

fn empty_set() -> Regex<Self>

source

fn empty_string() -> Regex<Self>

source

fn symbol(value: Self::Symbol) -> Regex<Self>

source

fn closure(inner: Regex<Self>) -> Regex<Self>

source

fn concat(left: Regex<Self>, right: Regex<Self>) -> Regex<Self>

source

fn or(left: Regex<Self>, right: Regex<Self>) -> Regex<Self>

source

fn and(left: Regex<Self>, right: Regex<Self>) -> Regex<Self>

source

fn complement(inner: Regex<Self>) -> Regex<Self>

Object Safety§

This trait is not object safe.

Implementors§