#[non_exhaustive]pub struct RustdocAdapter<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Adapter<'a> for RustdocAdapter<'a>
impl<'a> Adapter<'a> for RustdocAdapter<'a>
type DataToken = Token<'a>
fn get_starting_tokens(
&mut self,
edge: Arc<str>,
_parameters: Option<Arc<EdgeParameters>>,
_query_hint: InterpretedQuery,
_vertex_hint: Vid
) -> Box<dyn Iterator<Item = Self::DataToken> + 'a>
fn project_property(
&mut self,
data_contexts: Box<dyn Iterator<Item = DataContext<Self::DataToken>> + 'a>,
current_type_name: Arc<str>,
field_name: Arc<str>,
_query_hint: InterpretedQuery,
_vertex_hint: Vid
) -> Box<dyn Iterator<Item = (DataContext<Self::DataToken>, FieldValue)> + 'a>
fn project_neighbors(
&mut self,
data_contexts: Box<dyn Iterator<Item = DataContext<Self::DataToken>> + 'a>,
current_type_name: Arc<str>,
edge_name: Arc<str>,
parameters: Option<Arc<EdgeParameters>>,
_query_hint: InterpretedQuery,
_vertex_hint: Vid,
_edge_hint: Eid
) -> Box<dyn Iterator<Item = (DataContext<Self::DataToken>, Box<dyn Iterator<Item = Self::DataToken> + 'a>)> + 'a>
fn can_coerce_to_type(
&mut self,
data_contexts: Box<dyn Iterator<Item = DataContext<Self::DataToken>> + 'a>,
current_type_name: Arc<str>,
coerce_to_type_name: Arc<str>,
_query_hint: InterpretedQuery,
_vertex_hint: Vid
) -> Box<dyn Iterator<Item = (DataContext<Self::DataToken>, bool)> + 'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for RustdocAdapter<'a>
impl<'a> Send for RustdocAdapter<'a>
impl<'a> Sync for RustdocAdapter<'a>
impl<'a> Unpin for RustdocAdapter<'a>
impl<'a> UnwindSafe for RustdocAdapter<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more