pub struct RepeatUntilSatisfiedPass {
pub body: Box<BasePass>,
pub predicate: Predicate,
}Expand description
A pass that iterates an internal pass until some predicate is satisfied.
Fields§
§body: Box<BasePass>The body of the loop.
predicate: PredicateThe predicate that conditions the loop. The loop is terminated when this predicate returns True.
Trait Implementations§
Source§impl Clone for RepeatUntilSatisfiedPass
impl Clone for RepeatUntilSatisfiedPass
Source§fn clone(&self) -> RepeatUntilSatisfiedPass
fn clone(&self) -> RepeatUntilSatisfiedPass
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 moreSource§impl Debug for RepeatUntilSatisfiedPass
impl Debug for RepeatUntilSatisfiedPass
Source§impl<'de> Deserialize<'de> for RepeatUntilSatisfiedPass
impl<'de> Deserialize<'de> for RepeatUntilSatisfiedPass
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<RepeatUntilSatisfiedPass> for BasePass
impl From<RepeatUntilSatisfiedPass> for BasePass
Source§fn from(value: RepeatUntilSatisfiedPass) -> Self
fn from(value: RepeatUntilSatisfiedPass) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RepeatUntilSatisfiedPass
impl PartialEq for RepeatUntilSatisfiedPass
Source§impl Serialize for RepeatUntilSatisfiedPass
impl Serialize for RepeatUntilSatisfiedPass
impl StructuralPartialEq for RepeatUntilSatisfiedPass
Auto Trait Implementations§
impl Freeze for RepeatUntilSatisfiedPass
impl RefUnwindSafe for RepeatUntilSatisfiedPass
impl Send for RepeatUntilSatisfiedPass
impl Sync for RepeatUntilSatisfiedPass
impl Unpin for RepeatUntilSatisfiedPass
impl UnwindSafe for RepeatUntilSatisfiedPass
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