pub struct FinalUnitCoordinate {Show 14 fields
pub cargo_manifest_path: PathBuf,
pub cargo_package_name: String,
pub cargo_package_version: String,
pub cargo_profile: Option<String>,
pub cargo_profile_fingerprint: String,
pub cargo_primary_package: bool,
pub cargo_extra_filename: Option<String>,
pub crate_name: String,
pub crate_types: Vec<String>,
pub target: Option<String>,
pub features: Vec<String>,
pub source_hash: String,
pub logical_environment_hash: String,
pub cfgs: Vec<String>,
}Expand description
Phase-invariant identity used to join a final rustc invocation to one descriptor Cargo unit.
This deliberately excludes target-directory paths, output paths, dependency artifact paths, and the final plan’s injected cfgs.
Fields§
§cargo_manifest_path: PathBufExact Cargo manifest shared by descriptor and final compilation.
cargo_package_name: StringCargo package name.
cargo_package_version: StringCargo package version.
cargo_profile: Option<String>Cargo profile name when Cargo exposed one directly to rustc.
cargo_profile_fingerprint: StringStable profile-affecting rustc/environment fingerprint.
cargo_primary_package: boolWhether Cargo marked this unit as belonging to a selected root package.
cargo_extra_filename: Option<String>Cargo’s exact phase-invariant rustc output discriminator. Selected primary bins and libraries may intentionally use an unhashed output.
crate_name: StringRust crate name.
crate_types: Vec<String>Normalized crate types.
target: Option<String>Effective explicit target triple.
features: Vec<String>Cargo feature cfg values.
source_hash: StringDescriptor-domain content hash of the exact primary source.
logical_environment_hash: StringSemantic Cargo/build-script environment.
cfgs: Vec<String>Normalized cfgs supplied by Cargo before wrapper-owned final-plan cfgs.
Trait Implementations§
Source§impl Clone for FinalUnitCoordinate
impl Clone for FinalUnitCoordinate
Source§fn clone(&self) -> FinalUnitCoordinate
fn clone(&self) -> FinalUnitCoordinate
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FinalUnitCoordinate
impl Debug for FinalUnitCoordinate
Source§impl<'de> Deserialize<'de> for FinalUnitCoordinate
impl<'de> Deserialize<'de> for FinalUnitCoordinate
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FinalUnitCoordinate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FinalUnitCoordinate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for FinalUnitCoordinate
Source§impl Ord for FinalUnitCoordinate
impl Ord for FinalUnitCoordinate
Source§fn cmp(&self, other: &FinalUnitCoordinate) -> Ordering
fn cmp(&self, other: &FinalUnitCoordinate) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for FinalUnitCoordinate
impl PartialEq for FinalUnitCoordinate
Source§impl PartialOrd for FinalUnitCoordinate
impl PartialOrd for FinalUnitCoordinate
Source§impl Serialize for FinalUnitCoordinate
impl Serialize for FinalUnitCoordinate
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for FinalUnitCoordinate
Auto Trait Implementations§
impl Forget for FinalUnitCoordinate
impl Freeze for FinalUnitCoordinate
impl Move for FinalUnitCoordinate
impl RefUnwindSafe for FinalUnitCoordinate
impl Send for FinalUnitCoordinate
impl Sync for FinalUnitCoordinate
impl Unpin for FinalUnitCoordinate
impl UnsafeUnpin for FinalUnitCoordinate
impl UnwindSafe for FinalUnitCoordinate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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> ⓘ
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> ⓘ
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