Struct pomsky_syntax::exprs::Repetition
source · [−]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
sourceimpl<'i> Clone for Repetition<'i>
impl<'i> Clone for Repetition<'i>
sourcefn clone(&self) -> Repetition<'i>
fn clone(&self) -> Repetition<'i>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more