[−][src]Struct rec::Rec
Constructs a regular expression.
This implements the Builder pattern for Regex
.
Methods
impl Rec
[src]
Trait Implementations
impl Element for Rec
[src]
fn into_rec(self) -> Self
[src]
fn group(self) -> Rec where
Self: Sized,
[src]
Self: Sized,
Converts self
into a Rec
that is grouped.
impl Eq for Rec
[src]
impl Clone for Rec
[src]
fn clone(&self) -> Rec
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Rec> for Rec
[src]
impl Default for Rec
[src]
impl Display for Rec
[src]
impl Debug for Rec
[src]
impl<'_> Add<Rec> for &'_ str
[src]
type Output = Rec
The resulting type after applying the +
operator.
fn add(self, rhs: Rec) -> Self::Output
[src]
use rec::Element; let a_rec = "abc" + "xyz".into_rec(); assert_eq!(a_rec, String::from("abcxyz").into_rec());
impl Add<Rec> for String
[src]
type Output = Rec
The resulting type after applying the +
operator.
fn add(self, rhs: Rec) -> Self::Output
[src]
use rec::Element; let a_rec = String::from("abc") + "xyz".into_rec(); assert_eq!(a_rec, String::from("abcxyz").into_rec());
impl<Rhs: Element> Add<Rhs> for Rec
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Rhs) -> Self
[src]
impl<'_> BitOr<Rec> for &'_ str
[src]
type Output = Rec
The resulting type after applying the |
operator.
fn bitor(self, rhs: Rec) -> Self::Output
[src]
use rec::Element; let a_rec = "abc" | "xyz".into_rec(); assert_eq!(a_rec, String::from("abc|xyz").into_rec());
impl BitOr<Rec> for String
[src]
type Output = Rec
The resulting type after applying the |
operator.
fn bitor(self, rhs: Rec) -> Self::Output
[src]
use rec::Element; let a_rec = String::from("abc") | "xyz".into_rec(); assert_eq!(a_rec, String::from("abc|xyz").into_rec());
impl<T: Element> BitOr<T> for Rec
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> Self
[src]
impl Hash for Rec
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,