Struct rustc_span::SourceFileHash
source · pub struct SourceFileHash {
pub kind: SourceFileHashAlgorithm,
pub(crate) value: [u8; 32],
}
Expand description
The hash of the on-disk source file used for debug info.
Fields§
§kind: SourceFileHashAlgorithm
§value: [u8; 32]
Implementations§
Trait Implementations§
source§impl Clone for SourceFileHash
impl Clone for SourceFileHash
source§fn clone(&self) -> SourceFileHash
fn clone(&self) -> SourceFileHash
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SourceFileHash
impl Debug for SourceFileHash
source§impl<__D: Decoder> Decodable<__D> for SourceFileHash
impl<__D: Decoder> Decodable<__D> for SourceFileHash
source§impl<__E: Encoder> Encodable<__E> for SourceFileHash
impl<__E: Encoder> Encodable<__E> for SourceFileHash
source§impl Hash for SourceFileHash
impl Hash for SourceFileHash
source§impl<__CTX> HashStable<__CTX> for SourceFileHashwhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for SourceFileHashwhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
source§impl PartialEq<SourceFileHash> for SourceFileHash
impl PartialEq<SourceFileHash> for SourceFileHash
source§fn eq(&self, other: &SourceFileHash) -> bool
fn eq(&self, other: &SourceFileHash) -> bool
impl Copy for SourceFileHash
impl Eq for SourceFileHash
impl StructuralEq for SourceFileHash
impl StructuralPartialEq for SourceFileHash
Auto Trait Implementations§
impl RefUnwindSafe for SourceFileHash
impl Send for SourceFileHash
impl Sync for SourceFileHash
impl Unpin for SourceFileHash
impl UnwindSafe for SourceFileHash
Blanket Implementations§
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: 33 bytes