base::id

Trait Indexable

Source
pub trait Indexable {
    const DISPLAY_PREFIX: &'static str;
}
Expand description

A type that implements this trait is expected to be used as part of the NamespaceIndex type.

Required Associated Constants§

Source

const DISPLAY_PREFIX: &'static str

The string prefix to display when debug printing an instance of this type.

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 Indexable for BlobIndex

Source§

const DISPLAY_PREFIX: &'static str = "Blob"

Source§

impl Indexable for BroadcastChannelRouterIndex

Source§

const DISPLAY_PREFIX: &'static str = "BroadcastChannelRouter"

Source§

impl Indexable for BrowsingContextIndex

Source§

const DISPLAY_PREFIX: &'static str = "BrowsingContext"

Source§

impl Indexable for DomExceptionIndex

Source§

const DISPLAY_PREFIX: &'static str = "DomException"

Source§

impl Indexable for DomPointIndex

Source§

const DISPLAY_PREFIX: &'static str = "DomPoint"

Source§

impl Indexable for HistoryStateIndex

Source§

const DISPLAY_PREFIX: &'static str = "HistoryState"

Source§

impl Indexable for ImageBitmapIndex

Source§

const DISPLAY_PREFIX: &'static str = "ImageBitmap"

Source§

impl Indexable for MessagePortIndex

Source§

const DISPLAY_PREFIX: &'static str = "MessagePort"

Source§

impl Indexable for MessagePortRouterIndex

Source§

const DISPLAY_PREFIX: &'static str = "MessagePortRouter"

Source§

impl Indexable for OffscreenCanvasIndex

Source§

const DISPLAY_PREFIX: &'static str = "OffscreenCanvas"

Source§

impl Indexable for PipelineIndex

Source§

const DISPLAY_PREFIX: &'static str = "Pipeline"

Source§

impl Indexable for ServiceWorkerIndex

Source§

const DISPLAY_PREFIX: &'static str = "ServiceWorker"

Source§

impl Indexable for ServiceWorkerRegistrationIndex

Source§

const DISPLAY_PREFIX: &'static str = "ServiceWorkerRegistration"