Enum graphannis::graph::ComponentType[][src]

#[repr(C)]
pub enum ComponentType { Coverage, InverseCoverage, Dominance, Pointing, Ordering, LeftToken, RightToken, PartOfSubcorpus, }

Specifies the type of component. Types determine certain semantics about the edges of this graph components.

Variants

Edges between a span node and its tokens. Implies text coverage.

Edges between a token and a span node.

Edges between a structural node and any other structural node, span or token. Implies text coverage.

Edge between any node.

Edge between two tokens implying that the source node comes before the target node in the textflow.

Explicit edge between any non-token node and the left-most token it covers.

Explicit edge between any non-token node and the right-most token it covers.

Implies that the source node belongs to the parent corpus/subcorpus/document node.

Trait Implementations

impl Eq for ComponentType
[src]

impl PartialEq for ComponentType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for ComponentType
[src]

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for ComponentType
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Hash for ComponentType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for ComponentType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ComponentType
[src]

Formats the value using the given formatter. Read more

impl IntoEnumIterator for ComponentType
[src]

impl FromStr for ComponentType
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl MallocSizeOf for ComponentType
[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more

impl Display for ComponentType
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations