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
name: String
disambiguator: (u64, u64)
Trait Implementations
impl Hash for GlobalCrateId
[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for GlobalCrateId
[src]
fn clone(&self) -> GlobalCrateId
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for GlobalCrateId
[src]
impl PartialEq<GlobalCrateId> for GlobalCrateId
[src]
fn eq(&self, __arg_0: &GlobalCrateId) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GlobalCrateId) -> bool
[src]
This method tests for !=
.
impl Debug for GlobalCrateId
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl Decodable for GlobalCrateId
[src]
fn decode<__D>(
__arg_0: &mut __D
) -> Result<GlobalCrateId, <__D as Decoder>::Error> where
__D: Decoder,
[src]
__arg_0: &mut __D
) -> Result<GlobalCrateId, <__D as Decoder>::Error> where
__D: Decoder,