struct DepFingerprint {
pkg_id: u64,
name: InternedString,
public: bool,
fingerprint: Arc<Fingerprint>,
}Expand description
Dependency edge information for fingerprints. This is generated for each
dependency and is stored in a Fingerprint.
Fields§
§pkg_id: u64The hash of the package id that this dependency points to
name: InternedStringThe crate name we’re using for this dependency, which if we change we’ll need to recompile!
public: boolWhether or not this dependency is flagged as a public dependency or not.
fingerprint: Arc<Fingerprint>The dependency’s fingerprint we recursively point to, containing all the other hash information we’d otherwise need.
Implementations§
Source§impl DepFingerprint
impl DepFingerprint
fn new( build_runner: &mut BuildRunner<'_, '_>, dep: &UnitDep, ) -> CargoResult<DepFingerprint>
Trait Implementations§
Source§impl Clone for DepFingerprint
impl Clone for DepFingerprint
Source§impl<'de> Deserialize<'de> for DepFingerprint
impl<'de> Deserialize<'de> for DepFingerprint
Source§fn deserialize<D>(d: D) -> Result<DepFingerprint, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<DepFingerprint, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for DepFingerprint
impl Freeze for DepFingerprintwhere
&'static str: Freeze,
*const ArcInner<Fingerprint> is !null: Freeze,
PhantomData<ArcInner<Fingerprint>>: Freeze,
impl Move for DepFingerprint
impl RefUnwindSafe for DepFingerprintwhere
Atomic<usize>: RefUnwindSafe,
Mutex<Vec<LocalFingerprint>>: RefUnwindSafe,
Mutex<Option<u64>>: RefUnwindSafe,
impl Send for DepFingerprint
impl Sync for DepFingerprint
impl Unpin for DepFingerprint
impl UnsafeUnpin for DepFingerprintwhere
&'static str: UnsafeUnpin,
*const ArcInner<Fingerprint> is !null: UnsafeUnpin,
PhantomData<ArcInner<Fingerprint>>: UnsafeUnpin,
impl UnwindSafe for DepFingerprint
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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> ⓘ
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§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
§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