pub trait NodeStore<IdN> {
    type R<'a>
       where Self: 'a;

    // Required method
    fn resolve(&self, id: &IdN) -> Self::R<'_>;
}

Required Associated Types§

source

type R<'a> where Self: 'a

Required Methods§

source

fn resolve(&self, id: &IdN) -> Self::R<'_>

Implementors§

source§

impl NodeStore<NodeIdentifier> for hyper_ast::store::nodes::fetched::NodeStore

§

type R<'a> = HashedNodeRef<'a, AnyType>

source§

impl NodeStore<Entity> for hyper_ast::store::nodes::legion::NodeStore

§

type R<'a> = HashedNodeRef<'a, Entity>

source§

impl<IdN, TS, NS, LS> NodeStore<IdN> for SimpleStores<TS, NS, LS>where for<'a> NS::R<'a>: Tree<TreeId = IdN>, IdN: NodeId<IdN = IdN>, NS: NodeStore<IdN>,

§

type R<'a> = <NS as NodeStore<IdN>>::R<'a> where Self: 'a

source§

impl<T, TS, NS, LS> NodeStore<<T as Stored>::TreeId> for SimpleHyperAST<T, TS, NS, LS>where T: Tree, T::TreeId: NodeId<IdN = T::TreeId>, T::Type: 'static, NS: NodeStore<T::TreeId>,

§

type R<'a> = <NS as NodeStore<<T as Stored>::TreeId>>::R<'a> where Self: 'a