Enum lp_parser_rs::Rule
source · pub enum Rule {
Show 62 variants
WHITESPACE,
POS_INFINITY,
NEG_INFINITY,
FLOAT,
PLUS,
MINUS,
OPERATOR,
COLON,
ASTERIX,
FREE,
END,
VALID_COMMENT_CHARS,
VALID_LP_CHARS,
VARIABLE,
PROBLEM_NAME,
LP_PROBLEM_NAME,
COMMENT_TEXT,
COMMENTS,
MIN_SENSE,
MAX_SENSE,
PROBLEM_SENSE,
OBJECTIVE_EXPR,
OBJECTIVE_NAME,
OBJECTIVE,
OBJECTIVES,
CONSTRAINT_SECTION,
GT,
GTE,
LT,
LTE,
EQ,
CMP,
CONSTRAINT_EXPR,
CONSTRAINT_EXPRS,
CONSTRAINT_NAME,
CONSTRAINT,
CONSTRAINTS,
BOUND_SECTION,
BOUNDED,
FREE_VARIABLE,
LOWER_BOUND,
LOWER_BOUND_REV,
UPPER_BOUND,
BOUND,
BOUNDS,
INTEGER_SECTION,
INTEGERS,
GENERALS_SECTION,
GENERALS,
BINARIES_SECTION,
BINARIES,
SEMI_CONTINUOUS_SECTION,
SEMI_CONTINUOUS,
SOS_SECTION,
TYPE1,
TYPE2,
VARIABLE_AND_WEIGHT,
SOS_CONSTRAINT,
SOS,
EOF,
OPTIONAL_SECTIONS,
LP_FILE,
}
Variants§
WHITESPACE
POS_INFINITY
NEG_INFINITY
FLOAT
PLUS
MINUS
OPERATOR
COLON
ASTERIX
FREE
END
VALID_COMMENT_CHARS
VALID_LP_CHARS
VARIABLE
PROBLEM_NAME
LP_PROBLEM_NAME
COMMENT_TEXT
COMMENTS
MIN_SENSE
MAX_SENSE
PROBLEM_SENSE
OBJECTIVE_EXPR
OBJECTIVE_NAME
OBJECTIVE
OBJECTIVES
CONSTRAINT_SECTION
GT
GTE
LT
LTE
EQ
CMP
CONSTRAINT_EXPR
CONSTRAINT_EXPRS
CONSTRAINT_NAME
CONSTRAINT
CONSTRAINTS
BOUND_SECTION
BOUNDED
FREE_VARIABLE
LOWER_BOUND
LOWER_BOUND_REV
UPPER_BOUND
BOUND
BOUNDS
INTEGER_SECTION
INTEGERS
GENERALS_SECTION
GENERALS
BINARIES_SECTION
BINARIES
SEMI_CONTINUOUS_SECTION
SEMI_CONTINUOUS
SOS_SECTION
TYPE1
TYPE2
VARIABLE_AND_WEIGHT
SOS_CONSTRAINT
SOS
EOF
OPTIONAL_SECTIONS
LP_FILE
Implementations§
Trait Implementations§
source§impl Ord for Rule
impl Ord for Rule
source§impl PartialEq for Rule
impl PartialEq for Rule
source§impl PartialOrd for Rule
impl PartialOrd for Rule
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
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