Trait donet_core::hashgen::LegacyDCHash
source · pub trait LegacyDCHash {
// Required method
fn generate_hash(&self, hashgen: &mut DCHashGenerator);
}
Expand description
Trait shared by all DC element structures to generate the DC file hash using the same hashing method as the original DClass library from Panda.
Required Methods§
sourcefn generate_hash(&self, hashgen: &mut DCHashGenerator)
fn generate_hash(&self, hashgen: &mut DCHashGenerator)
Accumulates the properties of this DC element into the file hash.