pub struct Repetition<'i> {
pub rule: Rule<'i>,
pub kind: RepetitionKind,
pub quantifier: Quantifier,
pub span: Span,
}
Fields§
§rule: Rule<'i>
§kind: RepetitionKind
§quantifier: Quantifier
§span: Span
Trait Implementations§
Source§impl<'i> Clone for Repetition<'i>
impl<'i> Clone for Repetition<'i>
Source§fn clone(&self) -> Repetition<'i>
fn clone(&self) -> Repetition<'i>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<'i> Freeze for Repetition<'i>
impl<'i> RefUnwindSafe for Repetition<'i>
impl<'i> Send for Repetition<'i>
impl<'i> Sync for Repetition<'i>
impl<'i> Unpin for Repetition<'i>
impl<'i> UnwindSafe for Repetition<'i>
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