Skip to main content

HostCustomConstructorDefinition

Trait HostCustomConstructorDefinition 

Source
pub trait HostCustomConstructorDefinition:
    Send
    + Sync
    + 'static {
    type Fields: HostCustomFieldSequence;

    const NAME: &'static str;
}
Expand description

The source name and ordered fields of one custom constructor.

Required Associated Constants§

Source

const NAME: &'static str

Required Associated Types§

Source

type Fields: HostCustomFieldSequence

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§