pub struct PathMatchResult {
pub nodes: Vec<EntityId>,
pub step_edges: Vec<Vec<EdgeId>>,
}Expand description
Result of a path pattern match.
Fields§
§nodes: Vec<EntityId>The nodes traversed, in order.
step_edges: Vec<Vec<EdgeId>>The edges used for each step. Each inner vector contains edges for one step (may have multiple for variable-length steps).
Implementations§
Trait Implementations§
Source§impl Clone for PathMatchResult
impl Clone for PathMatchResult
Source§fn clone(&self) -> PathMatchResult
fn clone(&self) -> PathMatchResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathMatchResult
impl Debug for PathMatchResult
Source§impl From<PatternMatch> for PathMatchResult
impl From<PatternMatch> for PathMatchResult
Source§fn from(pm: PatternMatch) -> Self
fn from(pm: PatternMatch) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PathMatchResult
impl PartialEq for PathMatchResult
impl Eq for PathMatchResult
impl StructuralPartialEq for PathMatchResult
Auto Trait Implementations§
impl Freeze for PathMatchResult
impl RefUnwindSafe for PathMatchResult
impl Send for PathMatchResult
impl Sync for PathMatchResult
impl Unpin for PathMatchResult
impl UnwindSafe for PathMatchResult
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