pub struct RepeatStep { /* private fields */ }Expand description
Repeat step - loop execution
Implementations§
Source§impl RepeatStep
impl RepeatStep
Sourcepub fn new(repeat_traversal: BasicTraversal) -> Self
pub fn new(repeat_traversal: BasicTraversal) -> Self
Create repeat() step
Sourcepub fn until(self, traversal: BasicTraversal) -> Self
pub fn until(self, traversal: BasicTraversal) -> Self
Set until condition
Sourcepub fn emit(self, traversal: BasicTraversal) -> Self
pub fn emit(self, traversal: BasicTraversal) -> Self
Set emit condition
Sourcepub fn until_first(self) -> Self
pub fn until_first(self) -> Self
Set until-first (check until before repeat)
Sourcepub fn emit_first(self) -> Self
pub fn emit_first(self) -> Self
Set emit-first (emit before repeat)
Trait Implementations§
Source§impl Clone for RepeatStep
impl Clone for RepeatStep
Source§fn clone(&self) -> RepeatStep
fn clone(&self) -> RepeatStep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RepeatStep
impl Debug for RepeatStep
Source§impl Step for RepeatStep
impl Step for RepeatStep
Source§fn requirements(&self) -> &[TraverserRequirement]
fn requirements(&self) -> &[TraverserRequirement]
Requirements this step declares
Source§fn process_traverser(&self, traverser: Traverser) -> StepResult
fn process_traverser(&self, traverser: Traverser) -> StepResult
Process a single traverser (standard algorithm)
Source§fn clone_step(&self) -> Box<dyn Step>
fn clone_step(&self) -> Box<dyn Step>
Clone as trait object
Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Downcast to mutable concrete type
Auto Trait Implementations§
impl Freeze for RepeatStep
impl !RefUnwindSafe for RepeatStep
impl Send for RepeatStep
impl Sync for RepeatStep
impl Unpin for RepeatStep
impl UnsafeUnpin for RepeatStep
impl !UnwindSafe for RepeatStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request