Struct syntaxdot_encoders::dependency::DependencyEncoding [−][src]
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
impl Debug for DependencyEncoding
[src]
impl Eq for DependencyEncoding
[src]
impl PartialEq<DependencyEncoding> for DependencyEncoding
[src]
fn eq(&self, other: &DependencyEncoding) -> bool
[src]
fn ne(&self, other: &DependencyEncoding) -> bool
[src]
impl StructuralEq for DependencyEncoding
[src]
impl StructuralPartialEq for DependencyEncoding
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,