pub trait SelectVertex {
// Required methods
fn select_vertex_by_key(
&self,
vertex_key: &VertexKeyRef,
) -> Result<VertexSelection<'_>, GraphComputingError>;
fn select_vertex_by_index(
&self,
vertex_index: VertexIndex,
) -> Result<VertexSelection<'_>, GraphComputingError>;
fn select_vertices_by_key(
&self,
vertex_keys: Vec<&VertexKeyRef>,
) -> Result<VertexSelection<'_>, GraphComputingError>;
fn select_vertices_by_index(
&self,
vertex_indices: Vec<VertexIndex>,
) -> Result<VertexSelection<'_>, GraphComputingError>;
fn select_vertices_connected_to_vertex_by_key(
&self,
edge_type: EdgeType,
to_vertex_key: &VertexKeyRef,
) -> Result<VertexSelection<'_>, GraphComputingError>;
fn select_vertices_connected_to_vertex_by_index(
&self,
edge_type: EdgeTypeIndex,
to_vertex_index: &VertexIndex,
) -> Result<VertexSelection<'_>, GraphComputingError>;
fn select_vertices_connected_from_vertex_by_key(
&self,
edge_type: EdgeType,
from_vertex_key: &VertexKeyRef,
) -> Result<VertexSelection<'_>, GraphComputingError>;
fn select_vertices_connected_from_vertex_by_index(
&self,
edge_type: EdgeTypeIndex,
from_vertex_index: &VertexIndex,
) -> Result<VertexSelection<'_>, GraphComputingError>;
}Required Methods§
fn select_vertex_by_key( &self, vertex_key: &VertexKeyRef, ) -> Result<VertexSelection<'_>, GraphComputingError>
fn select_vertex_by_index( &self, vertex_index: VertexIndex, ) -> Result<VertexSelection<'_>, GraphComputingError>
fn select_vertices_by_key( &self, vertex_keys: Vec<&VertexKeyRef>, ) -> Result<VertexSelection<'_>, GraphComputingError>
fn select_vertices_by_index( &self, vertex_indices: Vec<VertexIndex>, ) -> Result<VertexSelection<'_>, GraphComputingError>
fn select_vertices_connected_to_vertex_by_key( &self, edge_type: EdgeType, to_vertex_key: &VertexKeyRef, ) -> Result<VertexSelection<'_>, GraphComputingError>
fn select_vertices_connected_to_vertex_by_index( &self, edge_type: EdgeTypeIndex, to_vertex_index: &VertexIndex, ) -> Result<VertexSelection<'_>, GraphComputingError>
fn select_vertices_connected_from_vertex_by_key( &self, edge_type: EdgeType, from_vertex_key: &VertexKeyRef, ) -> Result<VertexSelection<'_>, GraphComputingError>
fn select_vertices_connected_from_vertex_by_index( &self, edge_type: EdgeTypeIndex, from_vertex_index: &VertexIndex, ) -> Result<VertexSelection<'_>, GraphComputingError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".