pub struct DepGraph<'a> { /* private fields */ }
Expand description
A graph view.
This data structure provides a view of a CoNLL-X dependency graph. The view can be used to retrieve the dependents of a head or the head of a dependent.
Implementations
Trait Implementations
sourceimpl<'a, 'b> PartialEq<DepGraph<'b>> for DepGraph<'a>
impl<'a, 'b> PartialEq<DepGraph<'b>> for DepGraph<'a>
impl<'a> Eq for DepGraph<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DepGraph<'a>
impl<'a> Send for DepGraph<'a>
impl<'a> Sync for DepGraph<'a>
impl<'a> Unpin for DepGraph<'a>
impl<'a> !UnwindSafe for DepGraph<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.