[−][src]Struct gll_pg_core::LogosToken
A wrapper around Logos token type, providing its slice and kind.
Fields
kind: T
Token kind
slice: &'a str
Token slice
Trait Implementations
impl<'a, T: Clone + Logos> Clone for LogosToken<'a, T>
[src]
fn clone(&self) -> LogosToken<'a, T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, T: Eq + Logos> Eq for LogosToken<'a, T>
[src]
impl<'a, T: PartialEq + Logos> PartialEq<LogosToken<'a, T>> for LogosToken<'a, T>
[src]
fn eq(&self, other: &LogosToken<'a, T>) -> bool
[src]
fn ne(&self, other: &LogosToken<'a, T>) -> bool
[src]
impl<'a, T: Logos> StructuralPartialEq for LogosToken<'a, T>
[src]
impl<'a, T: Logos> StructuralEq for LogosToken<'a, T>
[src]
Auto Trait Implementations
impl<'a, T> Send for LogosToken<'a, T> where
T: Send,
T: Send,
impl<'a, T> Sync for LogosToken<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for LogosToken<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> UnwindSafe for LogosToken<'a, T> where
T: UnwindSafe,
T: UnwindSafe,
impl<'a, T> RefUnwindSafe for LogosToken<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,