pub unsafe trait VTableSubset<B>: VTable {
type Subset: VTable<Bounds = B>;
// Required method
fn into_subset(self) -> Self::Subset;
}Expand description
Convert vtable into a vtable with less dynamic trait bounds.
§Safety
The type the vtable describes must not change.
Required Associated Types§
Required Methods§
Sourcefn into_subset(self) -> Self::Subset
fn into_subset(self) -> Self::Subset
Convert a vtable.
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.