Skip to main content

Host

Trait Host 

Source
pub trait Host: AstNode + HasName {
    const KIND: &'static str;
}

Required Associated Constants§

Source

const KIND: &'static str

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl Host for Enum

Source§

const KIND: &'static str = "enum"

Source§

impl Host for Fn

Source§

const KIND: &'static str = "function"

Source§

impl Host for RecordField

Source§

const KIND: &'static str = "field"

Source§

impl Host for Struct

Source§

const KIND: &'static str = "struct"

Source§

impl Host for Variant

Source§

const KIND: &'static str = "variant"