[−][src]Struct syntaxdot_encoders::deprel::DependencyEncoding  
Encoding of a dependency relation as a token label.
Implementations
impl<H> DependencyEncoding<H>[src]
pub fn new(head: H, label: impl Into<String>) -> Self[src]
pub fn head(&self) -> &H[src]
Get the head representation.
pub fn label(&self) -> &str[src]
Get the dependency label.
Trait Implementations
impl<H: Clone> Clone for DependencyEncoding<H>[src]
pub fn clone(&self) -> DependencyEncoding<H>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<H: Debug> Debug for DependencyEncoding<H>[src]
impl<'de, H> Deserialize<'de> for DependencyEncoding<H> where
    H: Deserialize<'de>, [src]
H: Deserialize<'de>,
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl<H: Eq> Eq for DependencyEncoding<H>[src]
impl<H: Hash> Hash for DependencyEncoding<H>[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0[src]
H: Hasher,
impl<H: PartialEq> PartialEq<DependencyEncoding<H>> for DependencyEncoding<H>[src]
pub fn eq(&self, other: &DependencyEncoding<H>) -> bool[src]
pub fn ne(&self, other: &DependencyEncoding<H>) -> bool[src]
impl<H> Serialize for DependencyEncoding<H> where
    H: Serialize, [src]
H: Serialize,
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer, [src]
__S: Serializer,
impl<H> StructuralEq for DependencyEncoding<H>[src]
impl<H> StructuralPartialEq for DependencyEncoding<H>[src]
impl ToString for DependencyEncoding<RelativePosition>[src]
impl ToString for DependencyEncoding<RelativePOS>[src]
Auto Trait Implementations
impl<H> RefUnwindSafe for DependencyEncoding<H> where
    H: RefUnwindSafe, 
H: RefUnwindSafe,
impl<H> Send for DependencyEncoding<H> where
    H: Send, 
H: Send,
impl<H> Sync for DependencyEncoding<H> where
    H: Sync, 
H: Sync,
impl<H> Unpin for DependencyEncoding<H> where
    H: Unpin, 
H: Unpin,
impl<H> UnwindSafe for DependencyEncoding<H> where
    H: UnwindSafe, 
H: UnwindSafe,
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<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
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> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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>,