#[non_exhaustive]pub struct RustdocAdapter<'a> { /* private fields */ }
Implementations§
source§impl<'a> RustdocAdapter<'a>
impl<'a> RustdocAdapter<'a>
pub fn new( current_crate: &'a IndexedCrate<'a>, previous_crate: Option<&'a IndexedCrate<'a>> ) -> Self
pub fn schema() -> Schema
Trait Implementations§
source§impl<'a> Adapter<'a> for RustdocAdapter<'a>
impl<'a> Adapter<'a> for RustdocAdapter<'a>
§type Vertex = Vertex<'a>
type Vertex = Vertex<'a>
The type of vertices in the dataset this adapter queries.
It’s frequently a good idea to use an Rc<…> type for cheaper cloning here.
source§fn resolve_starting_vertices(
&mut self,
edge_name: &Arc<str>,
_parameters: &EdgeParameters,
_query_info: &QueryInfo
) -> VertexIterator<'a, Self::Vertex>
fn resolve_starting_vertices( &mut self, edge_name: &Arc<str>, _parameters: &EdgeParameters, _query_info: &QueryInfo ) -> VertexIterator<'a, Self::Vertex>
Produce an iterator of vertices for the specified starting edge. Read more
source§fn resolve_property(
&mut self,
contexts: ContextIterator<'a, Self::Vertex>,
type_name: &Arc<str>,
property_name: &Arc<str>,
_query_info: &QueryInfo
) -> ContextOutcomeIterator<'a, Self::Vertex, FieldValue>
fn resolve_property( &mut self, contexts: ContextIterator<'a, Self::Vertex>, type_name: &Arc<str>, property_name: &Arc<str>, _query_info: &QueryInfo ) -> ContextOutcomeIterator<'a, Self::Vertex, FieldValue>
Resolve the value of a vertex property over an iterator of query contexts. Read more
source§fn resolve_neighbors(
&mut self,
contexts: ContextIterator<'a, Self::Vertex>,
type_name: &Arc<str>,
edge_name: &Arc<str>,
parameters: &EdgeParameters,
_query_info: &QueryInfo
) -> ContextOutcomeIterator<'a, Self::Vertex, VertexIterator<'a, Self::Vertex>>
fn resolve_neighbors( &mut self, contexts: ContextIterator<'a, Self::Vertex>, type_name: &Arc<str>, edge_name: &Arc<str>, parameters: &EdgeParameters, _query_info: &QueryInfo ) -> ContextOutcomeIterator<'a, Self::Vertex, VertexIterator<'a, Self::Vertex>>
Resolve the neighboring vertices across an edge, for each query context in an iterator. Read more