Skip to main content

JitMemory

Trait JitMemory 

Source
pub trait JitMemory:
    Sized
    + Deref<Target = [u8]>
    + DerefMut
    + AsRawFd {
    // Required method
    fn new(memory_size: usize) -> Self;
}
Expand description

A trait representing JIT memory.

Required Methods§

Source

fn new(memory_size: usize) -> Self

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§