pub struct LexerErrorInfo {
pub pos: u64,
pub line: u64,
pub col: u64,
pub curr_char: Option<char>,
pub group: u32,
pub state: usize,
pub text: String,
}Fields§
§pos: u64§line: u64§col: u64§curr_char: Option<char>§group: u32§state: usize§text: StringTrait Implementations§
Source§impl Clone for LexerErrorInfo
impl Clone for LexerErrorInfo
Source§fn clone(&self) -> LexerErrorInfo
fn clone(&self) -> LexerErrorInfo
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 LexerErrorInfo
impl Debug for LexerErrorInfo
Source§impl PartialEq for LexerErrorInfo
impl PartialEq for LexerErrorInfo
impl StructuralPartialEq for LexerErrorInfo
Auto Trait Implementations§
impl Freeze for LexerErrorInfo
impl RefUnwindSafe for LexerErrorInfo
impl Send for LexerErrorInfo
impl Sync for LexerErrorInfo
impl Unpin for LexerErrorInfo
impl UnwindSafe for LexerErrorInfo
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<S> BuildFrom<S> for S
impl<S> BuildFrom<S> for S
Source§fn build_from(source: S) -> S
fn build_from(source: S) -> S
Converts to this type from the input type.
Source§impl<S, T> BuildInto<T> for Swhere
T: BuildFrom<S>,
impl<S, T> BuildInto<T> for Swhere
T: BuildFrom<S>,
Source§fn build_into(self) -> T
fn build_into(self) -> T
Calls T::from(self) to convert a [S] into a [T].
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S, T> TryBuildInto<T> for Swhere
T: TryBuildFrom<S>,
impl<S, T> TryBuildInto<T> for Swhere
T: TryBuildFrom<S>,
Source§type Error = <T as TryBuildFrom<S>>::Error
type Error = <T as TryBuildFrom<S>>::Error
The type returned in the event of a conversion error.
Source§fn try_build_into(self) -> Result<T, <T as TryBuildFrom<S>>::Error>
fn try_build_into(self) -> Result<T, <T as TryBuildFrom<S>>::Error>
Performs the conversion.