pub trait CustomElementMetadata {
    const CUSTOM_ELEMENT_NAME: &'static str;
    const STATICS: &'static [&'static str] = _;
    const TYPE_NAME: &'static str = _;

    // Provided method
    fn struct_name() -> &'static str { ... }
}

Required Associated Constants§

Provided Associated Constants§

source

const STATICS: &'static [&'static str] = _

source

const TYPE_NAME: &'static str = _

Provided Methods§

source

fn struct_name() -> &'static str

Object Safety§

This trait is not object safe.

Implementors§

source§

impl CustomElementMetadata for CopyDropDownMenuElement

source§

const CUSTOM_ELEMENT_NAME: &'static str = "perspective-copy-menu"

source§

impl CustomElementMetadata for PerspectiveDebugPluginElement

source§

const CUSTOM_ELEMENT_NAME: &'static str = "perspective-viewer-plugin"

source§

impl CustomElementMetadata for ExportDropDownMenuElement

source§

const CUSTOM_ELEMENT_NAME: &'static str = "perspective-export-menu"

source§

impl CustomElementMetadata for PerspectiveViewerElement

source§

const CUSTOM_ELEMENT_NAME: &'static str = "perspective-viewer"

source§

const STATICS: &'static [&'static str] = _