pub trait ArchitectureWithFunctionContext: Architecture {
type FunctionArchContext: Send + Sync + 'static;
// Provided method
fn instruction_text_with_typed_context(
&self,
data: &[u8],
addr: u64,
_context: Option<&Self::FunctionArchContext>,
) -> Option<(usize, Vec<InstructionTextToken>)> { ... }
}Required Associated Types§
type FunctionArchContext: Send + Sync + 'static
Provided Methods§
fn instruction_text_with_typed_context( &self, data: &[u8], addr: u64, _context: Option<&Self::FunctionArchContext>, ) -> Option<(usize, Vec<InstructionTextToken>)>
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.