pub struct DepsFrame {
pub parent: Summary,
pub just_for_error_messages: bool,
pub remaining_siblings: RcVecIter<(Dependency, Rc<Vec<Summary>>, Rc<BTreeSet<InternedString>>)>,
}
Fields§
§parent: Summary
§just_for_error_messages: bool
§remaining_siblings: RcVecIter<(Dependency, Rc<Vec<Summary>>, Rc<BTreeSet<InternedString>>)>
Implementations§
source§impl DepsFrame
impl DepsFrame
sourcefn min_candidates(&self) -> usize
fn min_candidates(&self) -> usize
Returns the least number of candidates that any of this frame’s siblings has.
The remaining_siblings
array is already sorted with the smallest
number of candidates at the front, so we just return the number of
candidates in that entry.
pub fn flatten(&self) -> impl Iterator<Item = (PackageId, Dependency)> + '_
Trait Implementations§
source§impl Ord for DepsFrame
impl Ord for DepsFrame
source§impl PartialEq for DepsFrame
impl PartialEq for DepsFrame
source§impl PartialOrd for DepsFrame
impl PartialOrd for DepsFrame
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for DepsFrame
Auto Trait Implementations§
impl Freeze for DepsFrame
impl RefUnwindSafe for DepsFrame
impl !Send for DepsFrame
impl !Sync for DepsFrame
impl Unpin for DepsFrame
impl UnwindSafe for DepsFrame
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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
Checks if this value is equivalent to the given key. Read more
§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.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes