Skip to main content

SvmTypes

Trait SvmTypes 

Source
pub trait SvmTypes: for<'a> SvmTypesHost<Host<'a> = Svm<'a, Self>> { }
Expand description

Blanket marker for a family whose host is the VM itself.

Requiring for<'a> SvmTypesHost<Host<'a> = Svm<'a, Self>> is what makes “the host is this VM” a type-system fact rather than a runtime convention: a type can only satisfy this marker by pointing its host associated type at the VM parameterized by itself.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§