pub enum SyntaxErrorType {
BindingToNonImpl,
ExpectedNotFound,
ExpectedSyntax(&'static str),
InvalidAssigmentTarget,
LoopCannotResult,
MalformedLiteral,
RedeclaredVar,
RequiredTokenNotFound(TokenType),
UnexpectedEnd,
}
Variants§
BindingToNonImpl
ExpectedNotFound
ExpectedSyntax(&'static str)
InvalidAssigmentTarget
LoopCannotResult
MalformedLiteral
RedeclaredVar
RequiredTokenNotFound(TokenType)
UnexpectedEnd
Trait Implementations§
Source§impl Clone for SyntaxErrorType
impl Clone for SyntaxErrorType
Source§fn clone(&self) -> SyntaxErrorType
fn clone(&self) -> SyntaxErrorType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SyntaxErrorType
impl Debug for SyntaxErrorType
Source§impl PartialEq for SyntaxErrorType
impl PartialEq for SyntaxErrorType
impl Copy for SyntaxErrorType
impl Eq for SyntaxErrorType
impl StructuralPartialEq for SyntaxErrorType
Auto Trait Implementations§
impl Freeze for SyntaxErrorType
impl RefUnwindSafe for SyntaxErrorType
impl Send for SyntaxErrorType
impl Sync for SyntaxErrorType
impl Unpin for SyntaxErrorType
impl UnwindSafe for SyntaxErrorType
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