Skip to main content

Indexed

Trait Indexed 

Source
pub trait Indexed {
    const INDEXES: &'static [(&'static str, IndexKind)];
}
Expand description

The indexes a type declares.

Written by #[derive(Yo)] for every type it is put on, whether or not the type has an id, because an edge type declares indexes and has no id. That is the whole reason this is a trait of its own rather than a constant on Document.

Required Associated Constants§

Source

const INDEXES: &'static [(&'static str, IndexKind)]

The paths this type asks to be indexed, and how.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§