AnyFrameMeta

Trait AnyFrameMeta 

Source
pub trait AnyFrameMeta: Repr<MetaSlot> {
    // Required method
    spec fn vtable_ptr(&self) -> usize;

    // Provided methods
    exec fn on_drop(&mut self) { ... }
    fn is_untyped(&self) -> bool { ... }
}
Expand description

Space-holder of the AnyFrameMeta virtual table.

Required Methods§

Source

spec fn vtable_ptr(&self) -> usize

Provided Methods§

Source

exec fn on_drop(&mut self)

Source

exec fn is_untyped(&self) -> bool

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§

Source§

impl AnyFrameMeta for MetaSlotStorage

MetaSlotStorage is an inductive tagged union of all of the frame meta types that we work with in this development. So, it should itself implement AnyFrameMeta, and it can then be used to stand in for dyn AnyFrameMeta.

Source§

impl<C: PageTableConfig> AnyFrameMeta for PageTablePageMeta<C>

Source§

impl<M: AnyFrameMeta + Repr<MetaSlot>> AnyFrameMeta for Link<M>