Trait ArchitectureExt

Source
pub trait ArchitectureExt: Architecture {
Show 14 methods // Provided methods fn register_by_name(&self, name: &str) -> Option<Self::Register> { ... } fn calling_conventions(&self) -> Array<CoreCallingConvention> { ... } fn get_default_calling_convention( &self, ) -> Option<Ref<CoreCallingConvention>> { ... } fn set_default_calling_convention(&self, cc: &CoreCallingConvention) { ... } fn get_cdecl_calling_convention(&self) -> Option<Ref<CoreCallingConvention>> { ... } fn set_cdecl_calling_convention(&self, cc: &CoreCallingConvention) { ... } fn get_stdcall_calling_convention( &self, ) -> Option<Ref<CoreCallingConvention>> { ... } fn set_stdcall_calling_convention(&self, cc: &CoreCallingConvention) { ... } fn get_fastcall_calling_convention( &self, ) -> Option<Ref<CoreCallingConvention>> { ... } fn set_fastcall_calling_convention(&self, cc: &CoreCallingConvention) { ... } fn standalone_platform(&self) -> Option<Ref<Platform>> { ... } fn relocation_handler( &self, view_name: &str, ) -> Option<Ref<CoreRelocationHandler>> { ... } fn register_relocation_handler<R, F>(&self, name: &str, func: F) where R: 'static + RelocationHandler<Handle = CustomRelocationHandlerHandle<R>> + Send + Sync + Sized, F: FnOnce(CustomRelocationHandlerHandle<R>, CoreRelocationHandler) -> R { ... } fn register_function_recognizer<R>(&self, recognizer: R) where R: 'static + FunctionRecognizer + Send + Sync + Sized { ... }
}
Expand description

Contains helper methods for all types implementing ‘Architecture’

Provided 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.

Implementors§