abi_stable::nonexhaustive_enum

Trait GetVTable

Source
pub trait GetVTable<S, I>: Sized {
    const VTABLE: NonExhaustiveVtable_Ref<Self, S, I> = _;
}
Expand description

Gets the vtable of NonExhaustive<Self,S,I>.

This trait is only exposed for use in bounds, and cannot be implemented outside of abi_stable.

Provided Associated Constants§

Source

const VTABLE: NonExhaustiveVtable_Ref<Self, S, I> = _

The 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.

Implementors§

Source§

impl<E, S, I> GetVTable<S, I> for E
where S: InlineStorage, I: InterfaceType, E: GetEnumInfo, I::Sync: RequiresSync<E, S, I>, I::Send: RequiresSend<E, S, I>, I::Clone: InitCloneField<E, S, I>, I::Debug: InitDebugField<E, S, I>, I::Display: InitDisplayField<E, S, I>, I::Serialize: InitSerializeField<E, S, I>, I::PartialEq: InitPartialEqField<E, S, I>, I::PartialOrd: InitPartialOrdField<E, S, I>, I::Ord: InitOrdField<E, S, I>, I::Hash: InitHashField<E, S, I>,