pub struct TargetOutcome<T, E> { /* private fields */ }Expand description
Stable-order result for one target.
Implementations§
Source§impl<T, E> TargetOutcome<T, E>
impl<T, E> TargetOutcome<T, E>
Sourcepub fn kind(&self) -> &TargetOutcomeKind<T, E>
pub fn kind(&self) -> &TargetOutcomeKind<T, E>
Returns the terminal classification.
Sourcepub fn into_parts(self) -> (usize, HostId, TargetOutcomeKind<T, E>)
pub fn into_parts(self) -> (usize, HostId, TargetOutcomeKind<T, E>)
Consumes the outcome into its stable index, host, and terminal kind.
Trait Implementations§
Source§impl<T: Clone, E: Clone> Clone for TargetOutcome<T, E>
impl<T: Clone, E: Clone> Clone for TargetOutcome<T, E>
Source§fn clone(&self) -> TargetOutcome<T, E>
fn clone(&self) -> TargetOutcome<T, E>
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: PartialEq, E: PartialEq> PartialEq for TargetOutcome<T, E>
impl<T: PartialEq, E: PartialEq> PartialEq for TargetOutcome<T, E>
Source§fn eq(&self, other: &TargetOutcome<T, E>) -> bool
fn eq(&self, other: &TargetOutcome<T, E>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T: Eq, E: Eq> Eq for TargetOutcome<T, E>
impl<T, E> StructuralPartialEq for TargetOutcome<T, E>
Auto Trait Implementations§
impl<T, E> Freeze for TargetOutcome<T, E>
impl<T, E> RefUnwindSafe for TargetOutcome<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for TargetOutcome<T, E>
impl<T, E> Sync for TargetOutcome<T, E>
impl<T, E> Unpin for TargetOutcome<T, E>
impl<T, E> UnsafeUnpin for TargetOutcome<T, E>where
T: UnsafeUnpin,
E: UnsafeUnpin,
impl<T, E> UnwindSafe for TargetOutcome<T, E>where
T: UnwindSafe,
E: UnwindSafe,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.