Struct graphannis::graph::Match [−][src]
Expand description
A match is the result of a query on an annotation storage.
Fields
node: u64
The node identifier this match refers to.
anno_key: Arc<AnnoKey>
The qualified annotation name.
Implementations
pub fn extract_annotation(
&self,
node_annos: &dyn AnnotationStorage<u64>
) -> Option<Annotation>
pub fn extract_annotation(
&self,
node_annos: &dyn AnnotationStorage<u64>
) -> Option<Annotation>
Extract the annotation for this match . The annotation value
is retrieved from the node_annos
given as argument.
Returns true if this match is different to all the other matches given as argument.
A single match is different if the node ID or the annotation key are different.
Returns true if this match is different to the other match given as argument.
A single match is different if the node ID or the annotation key are different.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Match
impl UnwindSafe for Match
Blanket Implementations
Mutably borrows from an owned value. Read more