pub enum MatchOpcode {
True,
Equal,
LessEqual,
Less,
GreaterEqual,
Greater,
}
Expand description
Type of comparison used for a branch in an ExpressionOpcode::Match
expression.
Variants§
Trait Implementations§
Source§impl Clone for MatchOpcode
impl Clone for MatchOpcode
Source§fn clone(&self) -> MatchOpcode
fn clone(&self) -> MatchOpcode
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 Debug for MatchOpcode
impl Debug for MatchOpcode
Source§impl<'a> Parse<'a> for MatchOpcode
Grammar:
impl<'a> Parse<'a> for MatchOpcode
Grammar:
MatchOpcode := ByteData
// 0 MTR
// 1 MEQ
// 2 MLE
// 3 MLT
// 4 MGE
// 5 MGT
Source§fn parse<E: AMLParseError<'a>>(
i: ParserState<'a>,
) -> AMLParseResult<'a, Self, E>
fn parse<E: AMLParseError<'a>>( i: ParserState<'a>, ) -> AMLParseResult<'a, Self, E>
Try to parse an object of this type from the given input and state. Read more
Source§impl PartialEq for MatchOpcode
impl PartialEq for MatchOpcode
impl Copy for MatchOpcode
impl Eq for MatchOpcode
impl StructuralPartialEq for MatchOpcode
Auto Trait Implementations§
impl Freeze for MatchOpcode
impl RefUnwindSafe for MatchOpcode
impl Send for MatchOpcode
impl Sync for MatchOpcode
impl Unpin for MatchOpcode
impl UnwindSafe for MatchOpcode
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