Skip to main content

EntityDomain

Trait EntityDomain 

Source
pub trait EntityDomain: IndexDomain {
    // Required method
    fn resolve_index<'a>(
        graphrecord: &'a GraphRecord,
        index: &Self::Owned,
    ) -> GraphRecordResult<Self::Index<'a>>;
}

Required Methods§

Source

fn resolve_index<'a>( graphrecord: &'a GraphRecord, index: &Self::Owned, ) -> GraphRecordResult<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 EntityDomain for EdgeIndex

Source§

fn resolve_index<'a>( graphrecord: &'a GraphRecord, index: &Self::Owned, ) -> GraphRecordResult<Self::Index<'a>>

Source§

impl EntityDomain for NodeIndex

Source§

fn resolve_index<'a>( graphrecord: &'a GraphRecord, index: &Self::Owned, ) -> GraphRecordResult<Self::Index<'a>>

Implementors§