Struct syntaxdot_encoders::dependency::DependencyEncoding
source · Expand description
Dependency encoding.
Fields§
§heads: Vec<usize>The head of each (non-ROOT) token.
relations: Vec<usize>The dependency relation of each (non-ROOT) token.
Trait Implementations§
source§impl Debug for DependencyEncoding
impl Debug for DependencyEncoding
source§impl PartialEq<DependencyEncoding> for DependencyEncoding
impl PartialEq<DependencyEncoding> for DependencyEncoding
source§fn eq(&self, other: &DependencyEncoding) -> bool
fn eq(&self, other: &DependencyEncoding) -> bool
impl Eq for DependencyEncoding
impl StructuralEq for DependencyEncoding
impl StructuralPartialEq for DependencyEncoding
Auto Trait Implementations§
impl RefUnwindSafe for DependencyEncoding
impl Send for DependencyEncoding
impl Sync for DependencyEncoding
impl Unpin for DependencyEncoding
impl UnwindSafe for DependencyEncoding
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.