pub trait VMHooksManagedTypes:
VMHooksBigInt
+ VMHooksManagedBuffer
+ VMHooksManagedMap
+ VMHooksBigFloat
+ VMHooksError
+ Debug {
// Provided methods
fn mb_to_big_int_unsigned(
&self,
buffer_handle: RawHandle,
bi_handle: RawHandle,
) { ... }
fn mb_to_big_int_signed(
&self,
buffer_handle: RawHandle,
bi_handle: RawHandle,
) { ... }
fn mb_from_big_int_unsigned(
&self,
buffer_handle: RawHandle,
bi_handle: RawHandle,
) { ... }
fn mb_from_big_int_signed(
&self,
buffer_handle: RawHandle,
bi_handle: RawHandle,
) { ... }
fn bi_to_string(&self, bi_handle: RawHandle, str_handle: RawHandle) { ... }
fn mb_set_random(&self, dest_handle: RawHandle, length: usize) { ... }
}
Expand description
Provides VM hook implementations for methods that deal with more than one type of managed type.
It is also the trait that unifies all managed type functionality.