Enum rsc::ParseErrorCode
source · pub enum ParseErrorCode<'t, N: Num> {
ExpectedValue,
ExpectedClosingParen,
UnexpectedToken(&'t Token<'t, N>),
UnexpectedEOF,
}
Variants§
Trait Implementations§
source§impl<'t, N: Clone + Num> Clone for ParseErrorCode<'t, N>
impl<'t, N: Clone + Num> Clone for ParseErrorCode<'t, N>
source§fn clone(&self) -> ParseErrorCode<'t, N>
fn clone(&self) -> ParseErrorCode<'t, N>
Returns a copy 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<'t, N: PartialEq + Num> PartialEq for ParseErrorCode<'t, N>
impl<'t, N: PartialEq + Num> PartialEq for ParseErrorCode<'t, N>
source§fn eq(&self, other: &ParseErrorCode<'t, N>) -> bool
fn eq(&self, other: &ParseErrorCode<'t, N>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'t, N: Copy + Num> Copy for ParseErrorCode<'t, N>
impl<'t, N: Num> StructuralPartialEq for ParseErrorCode<'t, N>
Auto Trait Implementations§
impl<'t, N> Freeze for ParseErrorCode<'t, N>
impl<'t, N> RefUnwindSafe for ParseErrorCode<'t, N>where
N: RefUnwindSafe,
impl<'t, N> Send for ParseErrorCode<'t, N>where
N: Sync,
impl<'t, N> Sync for ParseErrorCode<'t, N>where
N: Sync,
impl<'t, N> Unpin for ParseErrorCode<'t, N>
impl<'t, N> UnwindSafe for ParseErrorCode<'t, N>where
N: RefUnwindSafe,
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