pub struct ParserLanguageIdentity(/* private fields */);Expand description
Bounded stable language identity for one grammar-affined worker.
Implementations§
Trait Implementations§
Source§impl Clone for ParserLanguageIdentity
impl Clone for ParserLanguageIdentity
Source§fn clone(&self) -> ParserLanguageIdentity
fn clone(&self) -> ParserLanguageIdentity
Returns a duplicate 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 ParserLanguageIdentity
impl Debug for ParserLanguageIdentity
Source§impl<'de> Deserialize<'de> for ParserLanguageIdentity
impl<'de> Deserialize<'de> for ParserLanguageIdentity
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 Display for ParserLanguageIdentity
impl Display for ParserLanguageIdentity
Source§impl Hash for ParserLanguageIdentity
impl Hash for ParserLanguageIdentity
Source§impl PartialEq for ParserLanguageIdentity
impl PartialEq for ParserLanguageIdentity
Source§impl Serialize for ParserLanguageIdentity
impl Serialize for ParserLanguageIdentity
impl Eq for ParserLanguageIdentity
impl StructuralPartialEq for ParserLanguageIdentity
Auto Trait Implementations§
impl Freeze for ParserLanguageIdentity
impl RefUnwindSafe for ParserLanguageIdentity
impl Send for ParserLanguageIdentity
impl Sync for ParserLanguageIdentity
impl Unpin for ParserLanguageIdentity
impl UnwindSafe for ParserLanguageIdentity
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.