Skip to main content

GroupKey

Trait GroupKey 

Source
pub trait GroupKey: IndexDomain {
    // Required method
    fn resolve_key<'a>(
        label: &'static str,
        graphrecord: &'a GraphRecord,
        key: &Self::Owned,
    ) -> QueryResult<Self::Index<'a>>;
}

Required Methods§

Source

fn resolve_key<'a>( label: &'static str, graphrecord: &'a GraphRecord, key: &Self::Owned, ) -> QueryResult<Self::Index<'a>>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl GroupKey for EdgeIndex

Source§

fn resolve_key<'a>( label: &'static str, graphrecord: &'a GraphRecord, key: &Self::Owned, ) -> QueryResult<Self::Index<'a>>

Source§

impl GroupKey for GraphRecordValue

Source§

fn resolve_key<'a>( _label: &'static str, _graphrecord: &'a GraphRecord, key: &Self::Owned, ) -> QueryResult<Self::Index<'a>>

Source§

impl GroupKey for NodeIndex

Source§

fn resolve_key<'a>( label: &'static str, graphrecord: &'a GraphRecord, key: &Self::Owned, ) -> QueryResult<Self::Index<'a>>

Source§

impl GroupKey for bool

Source§

fn resolve_key<'a>( _label: &'static str, _graphrecord: &'a GraphRecord, key: &Self::Owned, ) -> QueryResult<Self::Index<'a>>

Implementors§