pub enum ArithmeticOrLogicalExpressionOpError {
Plus(ParserError<Plus>),
Minus(ParserError<Minus>),
Star(ParserError<Star>),
Div(ParserError<Slash>),
Percent(ParserError<Percent>),
And(ParserError<And>),
Or(ParserError<Or>),
Caret(ParserError<Caret>),
Shl(ParserError<Shl>),
Shr(ParserError<Shr>),
Unknown {
plus_err: ParserError<Plus>,
minus_err: ParserError<Minus>,
star_err: ParserError<Star>,
div_err: ParserError<Slash>,
percent_err: ParserError<Percent>,
and_err: ParserError<And>,
or_err: ParserError<Or>,
caret_err: ParserError<Caret>,
shl_err: ParserError<Shl>,
shr_err: ParserError<Shr>,
},
}Variants§
Plus(ParserError<Plus>)
Minus(ParserError<Minus>)
Star(ParserError<Star>)
Div(ParserError<Slash>)
Percent(ParserError<Percent>)
And(ParserError<And>)
Or(ParserError<Or>)
Caret(ParserError<Caret>)
Shl(ParserError<Shl>)
Shr(ParserError<Shr>)
Unknown
Fields
§
plus_err: ParserError<Plus>§
minus_err: ParserError<Minus>§
star_err: ParserError<Star>§
div_err: ParserError<Slash>§
percent_err: ParserError<Percent>§
and_err: ParserError<And>§
or_err: ParserError<Or>§
caret_err: ParserError<Caret>§
shl_err: ParserError<Shl>§
shr_err: ParserError<Shr>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArithmeticOrLogicalExpressionOpError
impl RefUnwindSafe for ArithmeticOrLogicalExpressionOpError
impl Send for ArithmeticOrLogicalExpressionOpError
impl Sync for ArithmeticOrLogicalExpressionOpError
impl Unpin for ArithmeticOrLogicalExpressionOpError
impl UnsafeUnpin for ArithmeticOrLogicalExpressionOpError
impl UnwindSafe for ArithmeticOrLogicalExpressionOpError
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<R, T> FromRecursiveRoot<R> for Twhere
T: From<R>,
impl<R, T> FromRecursiveRoot<R> for Twhere
T: From<R>,
fn from_recursive_root(root: R, _parser: &mut Parser) -> T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more