Struct rustc_span::hygiene::ExpnHash [−][src]
pub struct ExpnHash(Fingerprint);
Expand description
A unique hash value associated to an expansion.
Tuple Fields
0: Fingerprint
Implementations
Returns the StableCrateId identifying the crate this ExpnHash originates from.
Returns the crate-local part of the ExpnHash.
Used for tests.
Builds a new ExpnHash with the given StableCrateId and
local_hash
, where local_hash
must be unique within its crate.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExpnHash
impl UnwindSafe for ExpnHash
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 16 bytes