pub struct SolveOutcome {
pub schema: Arc<Schema>,
pub resolution_index: usize,
}Expand description
High-level outcome from solving an untagged enum.
Fields§
§schema: Arc<Schema>The schema that was used for solving
resolution_index: usizeIndex of the chosen resolution in schema.resolutions()
Implementations§
Source§impl SolveOutcome
impl SolveOutcome
Sourcepub fn resolution(&self) -> &Resolution
pub fn resolution(&self) -> &Resolution
Resolve the selected configuration reference.
Auto Trait Implementations§
impl Freeze for SolveOutcome
impl RefUnwindSafe for SolveOutcome
impl Send for SolveOutcome
impl Sync for SolveOutcome
impl Unpin for SolveOutcome
impl UnwindSafe for SolveOutcome
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