pub mod lpg;
pub mod projection;
pub mod traits;
#[cfg(feature = "compact-store")]
pub mod compact;
#[cfg(feature = "triple-store")]
pub mod rdf;
pub use projection::{GraphProjection, ProjectionSpec};
pub use traits::{GraphStore, GraphStoreMut, NullGraphStore};
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[non_exhaustive]
pub enum Direction {
Outgoing,
Incoming,
Both,
}
impl Direction {
#[must_use]
pub const fn reverse(self) -> Self {
match self {
Direction::Outgoing => Direction::Incoming,
Direction::Incoming => Direction::Outgoing,
Direction::Both => Direction::Both,
}
}
}