Enum conllx::graph::Projectivity
source · pub enum Projectivity {
Projective,
NonProjective,
}
Expand description
Relation projectivity.
This enum is used in the underlying petgraph
graph to distinguish
between edges from the non-projective and projective dependency
layers in a CoNLL-X graph. This enum is public because the underlying
DiGraph
can be retrieved using the get_ref
and into_inner
methods
of Sentence
.
Variants
Projective
NonProjective
Trait Implementations
sourceimpl Clone for Projectivity
impl Clone for Projectivity
sourcefn clone(&self) -> Projectivity
fn clone(&self) -> Projectivity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Projectivity
impl Debug for Projectivity
sourceimpl PartialEq<Projectivity> for Projectivity
impl PartialEq<Projectivity> for Projectivity
sourcefn eq(&self, other: &Projectivity) -> bool
fn eq(&self, other: &Projectivity) -> bool
impl Copy for Projectivity
impl Eq for Projectivity
impl StructuralEq for Projectivity
impl StructuralPartialEq for Projectivity
Auto Trait Implementations
impl RefUnwindSafe for Projectivity
impl Send for Projectivity
impl Sync for Projectivity
impl Unpin for Projectivity
impl UnwindSafe for Projectivity
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.