pub struct VisitOutcome<T> {
pub value: Option<T>,
pub residual: Option<Predicate>,
}Expand description
Result produced while evaluating parts of a predicate tree.
Fields§
§value: Option<T>Computed value for the evaluated portion, when available.
residual: Option<Predicate>Residual predicate that still needs evaluation elsewhere.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for VisitOutcome<T>
impl<T: Clone> Clone for VisitOutcome<T>
Source§fn clone(&self) -> VisitOutcome<T>
fn clone(&self) -> VisitOutcome<T>
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<T: Debug> Debug for VisitOutcome<T>
impl<T: Debug> Debug for VisitOutcome<T>
Source§impl<T: Default> Default for VisitOutcome<T>
impl<T: Default> Default for VisitOutcome<T>
Source§fn default() -> VisitOutcome<T>
fn default() -> VisitOutcome<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> Freeze for VisitOutcome<T>where
T: Freeze,
impl<T> RefUnwindSafe for VisitOutcome<T>where
T: RefUnwindSafe,
impl<T> Send for VisitOutcome<T>where
T: Send,
impl<T> Sync for VisitOutcome<T>where
T: Sync,
impl<T> Unpin for VisitOutcome<T>where
T: Unpin,
impl<T> UnsafeUnpin for VisitOutcome<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for VisitOutcome<T>where
T: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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