pub trait ArchitectureRelocationEncoding:
Clone
+ Copy
+ Debug {
// Required method
fn decode(code: u8) -> Self;
}Expand description
Trait that just handles the internal decoding of architecture-specific relocation encodings This is useful so the relocation type machinery can be generic over it.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.