Struct rls_analysis::CrateId [] [src]

pub struct CrateId {
    pub name: String,
    pub disambiguator: (u64, u64),
}

Crate name, along with its disambiguator (128-bit hash) represents a globally unique crate identifier, which should allow for differentiation between different crate targets or versions and should point to the same crate when pulled by different other, dependent crates.

Fields

Trait Implementations

impl Encodable for GlobalCrateId
[src]

[src]

Serialize a value using an Encoder.

impl Hash for GlobalCrateId
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for GlobalCrateId
[src]

impl PartialEq<GlobalCrateId> for GlobalCrateId
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Decodable for GlobalCrateId
[src]

[src]

Deserialize a value using a Decoder.

impl Clone for GlobalCrateId
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GlobalCrateId
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for GlobalCrateId

impl Sync for GlobalCrateId