[−][src]Trait rec::Element
Signifies elements that can be converted into a Rec
.
Required methods
Loading content...Provided methods
fn group(self) -> Rec where
Self: Sized,
Self: Sized,
Converts self
into a Rec
that is grouped.
fn unionable_value(&self) -> Option<String>
Returns the representation of self
as part of a [Char::Union
], if it exists.
Implementations on Foreign Types
impl<'_> Element for &'_ str
[src]
fn into_rec(self) -> Rec
[src]
use rec::Element; assert_eq!(".+*?|[]".into_rec(), String::from(r"\.\+\*\?\|\[\]").into_rec());
fn unionable_value(&self) -> Option<String>
[src]
fn group(self) -> Rec where
Self: Sized,
[src]
Self: Sized,
impl Element for String
[src]
fn into_rec(self) -> Rec
[src]
fn group(self) -> Rec where
Self: Sized,
[src]
Self: Sized,
fn unionable_value(&self) -> Option<String>
[src]
Implementors
impl Element for Rec
[src]
fn into_rec(self) -> Self
[src]
fn group(self) -> Rec where
Self: Sized,
[src]
Self: Sized,