pub struct Outcome<'spec, 'item> {
pub group: MatchGroup<'spec>,
pub mappings: Vec<Mapping<'spec, 'item>>,
}
Expand description
The outcome of any matching operation of a MatchGroup
.
It’s used to validate and process the contained mappings.
Fields§
§group: MatchGroup<'spec>
The match group that produced this outcome.
mappings: Vec<Mapping<'spec, 'item>>
The mappings derived from matching items.
Trait Implementations§
Auto Trait Implementations§
impl<'spec, 'item> Freeze for Outcome<'spec, 'item>
impl<'spec, 'item> RefUnwindSafe for Outcome<'spec, 'item>
impl<'spec, 'item> Send for Outcome<'spec, 'item>
impl<'spec, 'item> Sync for Outcome<'spec, 'item>
impl<'spec, 'item> Unpin for Outcome<'spec, 'item>
impl<'spec, 'item> UnwindSafe for Outcome<'spec, 'item>
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