Struct LexError
struct LexError { ... }
Error returned from TokenStream::from_str.
Implementations
impl LexError
fn span(self: &Self) -> Span
impl Debug for LexError
fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Display for LexError
fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Error for LexError
impl Freeze for LexError
impl RefUnwindSafe for LexError
impl Send for LexError
impl Sync for LexError
impl Unpin for LexError
impl UnwindSafe for LexError
impl<T> Any for LexError
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for LexError
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for LexError
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for LexError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToString for LexError
fn to_string(self: &Self) -> String
impl<T, U> Into for LexError
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for LexError
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for LexError
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>