Skip to main content

ArenaData

Trait ArenaData 

Source
pub trait ArenaData: Sized + 'static {
    // Required method
    fn with_arena<O>(f: impl FnOnce(&UnsafeCell<Arena<Self>>) -> O) -> O;
}
Expand description

Arena data

Required Methods§

Source

fn with_arena<O>(f: impl FnOnce(&UnsafeCell<Arena<Self>>) -> O) -> O

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§