Skip to main content

IRuntime

Trait IRuntime 

Source
pub trait IRuntime {
    type Shape: IShape;
    type Heap: IHeap<Self::Shape, Ptr: IPtr>;
    type Arena<T>: IArena<T>;

    // Required methods
    fn heap() -> Self::Heap;
    fn arena<T>() -> Self::Arena<T>;
}
Expand description

A heap and a shape implementation, over which Trame can be parameterized

Required Associated Types§

Source

type Shape: IShape

Source

type Heap: IHeap<Self::Shape, Ptr: IPtr>

Source

type Arena<T>: IArena<T>

Required Methods§

Source

fn heap() -> Self::Heap

Source

fn arena<T>() -> Self::Arena<T>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§