pub struct EdgeSelection<'g> { /* private fields */ }Implementations§
Source§impl<'g> EdgeSelection<'g>
impl<'g> EdgeSelection<'g>
pub fn edge_type_index_ref(&self) -> &EdgeTypeIndex
pub fn edge_type_ref(&self) -> Result<&EdgeTypeRef, GraphComputingError>
pub fn get_from_vertices(&self) -> Result<Vec<Vertex>, GraphComputingError>
pub fn get_to_vertices(&self) -> Result<Vec<Vertex>, GraphComputingError>
pub fn get_vertices(&self) -> Result<Vec<Vertex>, GraphComputingError>
pub fn select_from_vertices( &self, ) -> Result<VertexSelection<'_>, GraphComputingError>
pub fn select_to_vertices( &self, ) -> Result<VertexSelection<'_>, GraphComputingError>
pub fn select_vertices( &self, ) -> Result<VertexSelection<'_>, GraphComputingError>
pub fn select_vertices_connected_to_vertex( &self, to_vertex_key: &VertexKeyRef, ) -> Result<VertexSelection<'g>, GraphComputingError>
pub fn select_vertices_connected_to_vertex_by_index( &self, to_vertex_index: &VertexIndex, ) -> Result<VertexSelection<'g>, GraphComputingError>
pub fn select_vertices_connected_from_vertex( &self, from_vertex_key: &VertexKeyRef, ) -> Result<VertexSelection<'g>, GraphComputingError>
pub fn select_vertices_connected_from_vertex_by_index( &self, from_vertex_index: &VertexIndex, ) -> Result<VertexSelection<'g>, GraphComputingError>
Auto Trait Implementations§
impl<'g> Freeze for EdgeSelection<'g>
impl<'g> RefUnwindSafe for EdgeSelection<'g>
impl<'g> Send for EdgeSelection<'g>
impl<'g> Sync for EdgeSelection<'g>
impl<'g> Unpin for EdgeSelection<'g>
impl<'g> UnsafeUnpin for EdgeSelection<'g>
impl<'g> UnwindSafe for EdgeSelection<'g>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more