Struct syntaxdot_encoders::depseq::DependencyEncoding
source · pub struct DependencyEncoding<H> { /* private fields */ }
Expand description
Encoding of a dependency relation as a token label.
Implementations§
Trait Implementations§
source§impl<H: Clone> Clone for DependencyEncoding<H>
impl<H: Clone> Clone for DependencyEncoding<H>
source§fn clone(&self) -> DependencyEncoding<H>
fn clone(&self) -> DependencyEncoding<H>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<H: Debug> Debug for DependencyEncoding<H>
impl<H: Debug> Debug for DependencyEncoding<H>
source§impl<'de, H> Deserialize<'de> for DependencyEncoding<H>where
H: Deserialize<'de>,
impl<'de, H> Deserialize<'de> for DependencyEncoding<H>where H: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<H: Hash> Hash for DependencyEncoding<H>
impl<H: Hash> Hash for DependencyEncoding<H>
source§impl<H: PartialEq> PartialEq<DependencyEncoding<H>> for DependencyEncoding<H>
impl<H: PartialEq> PartialEq<DependencyEncoding<H>> for DependencyEncoding<H>
source§fn eq(&self, other: &DependencyEncoding<H>) -> bool
fn eq(&self, other: &DependencyEncoding<H>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<H> Serialize for DependencyEncoding<H>where
H: Serialize,
impl<H> Serialize for DependencyEncoding<H>where H: Serialize,
source§impl ToString for DependencyEncoding<RelativePos>
impl ToString for DependencyEncoding<RelativePos>
impl<H: Eq> Eq for DependencyEncoding<H>
impl<H> StructuralEq for DependencyEncoding<H>
impl<H> StructuralPartialEq for DependencyEncoding<H>
Auto Trait Implementations§
impl<H> RefUnwindSafe for DependencyEncoding<H>where H: RefUnwindSafe,
impl<H> Send for DependencyEncoding<H>where H: Send,
impl<H> Sync for DependencyEncoding<H>where H: Sync,
impl<H> Unpin for DependencyEncoding<H>where H: Unpin,
impl<H> UnwindSafe for DependencyEncoding<H>where H: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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.