Struct syntaxdot_encoders::depseq::RelativePosition
source · pub struct RelativePosition(_);Expand description
Relative head position.
The position of the head relative to the dependent token.
Trait Implementations§
source§impl Clone for RelativePosition
impl Clone for RelativePosition
source§fn clone(&self) -> RelativePosition
fn clone(&self) -> RelativePosition
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 Debug for RelativePosition
impl Debug for RelativePosition
source§impl<'de> Deserialize<'de> for RelativePosition
impl<'de> Deserialize<'de> for RelativePosition
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 Hash for RelativePosition
impl Hash for RelativePosition
source§impl PartialEq<RelativePosition> for RelativePosition
impl PartialEq<RelativePosition> for RelativePosition
source§fn eq(&self, other: &RelativePosition) -> bool
fn eq(&self, other: &RelativePosition) -> bool
source§impl Serialize for RelativePosition
impl Serialize for RelativePosition
impl Eq for RelativePosition
impl StructuralEq for RelativePosition
impl StructuralPartialEq for RelativePosition
Auto Trait Implementations§
impl RefUnwindSafe for RelativePosition
impl Send for RelativePosition
impl Sync for RelativePosition
impl Unpin for RelativePosition
impl UnwindSafe for RelativePosition
Blanket Implementations§
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.