pub struct LinkageSnapshot {
pub generation: ResourceGeneration,
pub index_generation: ResourceGeneration,
pub resolved_refs: usize,
pub external_refs: usize,
pub manifest_blocked_refs: usize,
pub unresolved_refs: usize,
pub ambiguous_refs: usize,
pub resolved: Vec<LinkageEdge>,
pub external: Vec<ExternalReference>,
pub manifest_blocked: Vec<UnresolvedReference>,
pub unresolved: Vec<UnresolvedReference>,
pub read_index: LinkageReadIndexHandle,
}Fields§
§generation: ResourceGeneration§index_generation: ResourceGeneration§resolved_refs: usize§external_refs: usize§manifest_blocked_refs: usize§unresolved_refs: usize§ambiguous_refs: usize§resolved: Vec<LinkageEdge>§external: Vec<ExternalReference>§manifest_blocked: Vec<UnresolvedReference>§unresolved: Vec<UnresolvedReference>§read_index: LinkageReadIndexHandleImplementations§
Source§impl LinkageSnapshot
impl LinkageSnapshot
pub fn new( generation: ResourceGeneration, index_generation: ResourceGeneration, resolved_refs: usize, unresolved_refs: usize, ) -> Self
pub fn with_refs( generation: ResourceGeneration, index_generation: ResourceGeneration, resolved: Vec<LinkageEdge>, unresolved: Vec<UnresolvedReference>, ) -> Self
Trait Implementations§
Source§impl Clone for LinkageSnapshot
impl Clone for LinkageSnapshot
Source§fn clone(&self) -> LinkageSnapshot
fn clone(&self) -> LinkageSnapshot
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 Debug for LinkageSnapshot
impl Debug for LinkageSnapshot
impl Eq for LinkageSnapshot
Source§impl PartialEq for LinkageSnapshot
impl PartialEq for LinkageSnapshot
impl StructuralPartialEq for LinkageSnapshot
Auto Trait Implementations§
impl Freeze for LinkageSnapshot
impl RefUnwindSafe for LinkageSnapshot
impl Send for LinkageSnapshot
impl Sync for LinkageSnapshot
impl Unpin for LinkageSnapshot
impl UnsafeUnpin for LinkageSnapshot
impl UnwindSafe for LinkageSnapshot
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more