pub enum SetTerminal {
SingleElement(char, u32),
DoubleElement(char, u32, char, u32),
Epsilon,
Empty,
}
Expand description
The SetTerminal
enum represents the different types of terminals that can be used in a regular expression.
Variants§
Implementations§
Source§impl SetTerminal
impl SetTerminal
Sourcepub fn product(&self, other: &SetTerminal) -> SetTerminal
pub fn product(&self, other: &SetTerminal) -> SetTerminal
Performs the cartesian product of two SetTerminal
instances.
Trait Implementations§
Source§impl Debug for SetTerminal
impl Debug for SetTerminal
Source§impl Hash for SetTerminal
impl Hash for SetTerminal
Source§impl PartialEq for SetTerminal
impl PartialEq for SetTerminal
impl Eq for SetTerminal
Auto Trait Implementations§
impl Freeze for SetTerminal
impl RefUnwindSafe for SetTerminal
impl Send for SetTerminal
impl Sync for SetTerminal
impl Unpin for SetTerminal
impl UnwindSafe for SetTerminal
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