Trait assert_graph_iso::graph::Graph[][src]

pub trait Graph {
    type NodeId: Debug + Hash + Eq + ?Sized;
    type NodeLabel: Display + ?Sized;
    type RelationshipType: Display + ?Sized;
    type PropertyKey: Display + ?Sized;
    type PropertyValue: Display + ?Sized;
    fn nodes(&self) -> NodesIterator<'_, &Self::NodeId>;
fn node_labels(
        &self,
        node_id: &Self::NodeId
    ) -> LabelIterator<'_, &Self::NodeLabel>;
fn node_properties(
        &self,
        node_id: &Self::NodeId
    ) -> PropertyIterator<'_, &Self::PropertyKey, &Self::PropertyValue>;
fn outgoing_relationships<'a, 'b: 'a>(
        &'a self,
        node_id: &'b Self::NodeId
    ) -> PropertyIterator<'_, (&'a Self::NodeId, &'a Self::RelationshipType), PropertyIterator<'_, &'a Self::PropertyKey, &'a Self::PropertyValue>>;
fn incoming_relationships<'a, 'b: 'a>(
        &'a self,
        node_id: &'b Self::NodeId
    ) -> PropertyIterator<'_, (&'a Self::NodeId, &'a Self::RelationshipType), PropertyIterator<'_, &'a Self::PropertyKey, &'a Self::PropertyValue>>; }

Associated Types

Loading content...

Required methods

fn nodes(&self) -> NodesIterator<'_, &Self::NodeId>[src]

fn node_labels(
    &self,
    node_id: &Self::NodeId
) -> LabelIterator<'_, &Self::NodeLabel>
[src]

fn node_properties(
    &self,
    node_id: &Self::NodeId
) -> PropertyIterator<'_, &Self::PropertyKey, &Self::PropertyValue>
[src]

fn outgoing_relationships<'a, 'b: 'a>(
    &'a self,
    node_id: &'b Self::NodeId
) -> PropertyIterator<'_, (&'a Self::NodeId, &'a Self::RelationshipType), PropertyIterator<'_, &'a Self::PropertyKey, &'a Self::PropertyValue>>
[src]

fn incoming_relationships<'a, 'b: 'a>(
    &'a self,
    node_id: &'b Self::NodeId
) -> PropertyIterator<'_, (&'a Self::NodeId, &'a Self::RelationshipType), PropertyIterator<'_, &'a Self::PropertyKey, &'a Self::PropertyValue>>
[src]

Loading content...

Implementors

Loading content...