Struct regex_literal::delimited::ReSequence
source · pub struct ReSequence(/* private fields */);
Expand description
ReSequence is the sequence of regex_automata::Regex (can be either single-pattern or multiple-pattern) that can be utilized in a timeline /series of matching events.
Implementations§
source§impl ReSequence
impl ReSequence
sourcepub const fn new() -> Self
pub const fn new() -> Self
Construct a new, empty ReSequence
The Regex vector as resequence’s field 0 will not be allocated in initialization
sourcepub fn iter(&self) -> Iter<'_, Regex>
pub fn iter(&self) -> Iter<'_, Regex>
Returns an iterator over the slice.
The iterator yields all items from start to end
sourcepub fn iter_mut(&mut self) -> IterMut<'_, Regex>
pub fn iter_mut(&mut self) -> IterMut<'_, Regex>
Returns an iterator that allows modifying each value.
The iterator yields all items from start to end.
Trait Implementations§
source§impl Clone for ReSequence
impl Clone for ReSequence
source§fn clone(&self) -> ReSequence
fn clone(&self) -> ReSequence
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReSequence
impl Debug for ReSequence
source§impl FromIterator<Regex> for ReSequence
impl FromIterator<Regex> for ReSequence
Create a value from an iterator.
source§impl IntoIterator for ReSequence
impl IntoIterator for ReSequence
The method that converts ReSequence into an Iterator, which works with for
syntax.
Auto Trait Implementations§
impl Freeze for ReSequence
impl RefUnwindSafe for ReSequence
impl Send for ReSequence
impl Sync for ReSequence
impl Unpin for ReSequence
impl UnwindSafe for ReSequence
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